Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to find App id, App Key ? #11

Open
jedi0605 opened this issue Jun 5, 2017 · 3 comments
Open

how to find App id, App Key ? #11

jedi0605 opened this issue Jun 5, 2017 · 3 comments

Comments

@jedi0605
Copy link

jedi0605 commented Jun 5, 2017

I have a LUIS app.
The url is "https://www.luis.ai/application/7b9e6d30-85fa-4d50-8e67-a5e5a1999072/"
I know the App id is: 7b9e6d30-85fa-4d50-8e67-a5e5a1999072, but i don't get the App Key
Could you tell me how to find that?

@stevengum
Copy link
Member

Hi @jedi0605, you can find instructions on obtaining a key here at "Creating Subscription Keys Via Azure".

@johnotu
Copy link

johnotu commented Jun 8, 2017

@jedi0605 Click Publish App on the left pane of the LUIS app dashboard, scroll down to find an Endpoint url under Publish Settings. Copy your App key from the url in blue. It is part of the url and begins with ...subscription-key=******...

@Antebios
Copy link

I am doing the local demo for basic-bot-LUIS. My BotConfiguration.bot config is below, but I do not have anything for a appPassword since I am testing locally without Azure and using luis.ai. When I try to connect using the v4 Bot emulator

{
  "name": "basic-bot-LUIS",
  "padlock": "",
  "version": "2.0",
  "services": [
     {
      "appId": "12345678-1234-1234-1234-1234567890ab",
      "appPassword": "",
      "endpoint": "http://localhost:3978/api/messages",
      "type": "endpoint",
      "name": "development",
      "id": "1"
    },
    {
      "appId": "12345678-1234-1234-1234-1234567890ab",
      "authoringKey": "0123456789abcdefghijklmnopqrstuv",
      "region": "westus",
      "type": "luis",
      "name": "basic-bot-LUIS",
      "version": "0.1",
      "id": "basic-bot-LUIS"
    }
  ]
}

In the Bot Emulator v4 Preview 2 I get this error when connecting:
Refresh access token failed with status code: 401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants