Gabriel Pereira
Gabriel Pereira

Reputation: 11

Creating a chat connector for communicating with the Bot Framework Service

I am trying to implement a bot in my website using the botbuilder framework for node.js. The function builder.ChatConnector() get the parameters appId and appPassword, does any one knows where can i found these appId and appPassword? It isn't clear for me in the microsoft documentation. The function is shown above:

function builder.ChatConnect
BotFramework documentation

Upvotes: 1

Views: 344

Answers (2)

Ezequiel Jadib
Ezequiel Jadib

Reputation: 14787

You need to register your bot in https://dev.botframework.com/ and there you will get those values. Check this article that explains how to do that.

Upvotes: 1

Steven G.
Steven G.

Reputation: 1642

You can find this information when you create your bot in Azure Bot Service, or when you proceed to register your bot at the dev portal.

Here's a brief walkthrough for registering through the dev portal with the minimum requirements. You'll need to fill out the name, bot handle and description for the bot as indicated below:

Bot Profile

After this, you can scroll down and click on the button that says "Create Microsoft App ID and password".

Create Microsoft App ID and password

Once you click on the button you'll be taken to a page with your bot name, your newly-generated App ID, and another button that allows you "Generate a password to continue".

Generate a password to continue

After you click the button a small window will pop up with your password which you need to keep track of as it is only shown once!

NOTE: For developing and testing using the Emulator, you don't need this information just yet. You only need the AppID and password when you are making your bot public facing/deploying it.

Upvotes: 1

Related Questions