-
Notifications
You must be signed in to change notification settings - Fork 759
Getting Started
Eric Anderson edited this page Nov 15, 2016
·
28 revisions
In general, these are the steps to get the emulator and your bot communicating:
- Enter your bot's endpoint in the emulator's address bar. This value differs by hosting environment. See sections below for specific scenarios.
- If your bot is running with Microsoft Account credentials, enter these credentials too.
- If your bot is hosted remotely, ensure that
ngrok
tunneling software is installed and configured. the Bot Framework Emulator is tightly integrated with ngrok and can launch it for you when needed. Learn more about what ngrok is, how the emulator utilizes ngrok, and how to configure it here. - If you prefer to use alternate tunneling software, you may configure a custom
Callback URL
in the emulator's App Settings dialog.
When developing a bot using the BotBuilder SDK, the default endpoint for local debugging is http://localhost:3978/api/messages
. This is where the bot will be listening for messages when you launch it in Visual Studio Code (Node.JS) or Visual Studio (C#).
In the emulator, enter your bot's endpoint into the emulator's address bar and press the connect button:
[screenshot]
For localhost debugging you will not typically need to enter MSA appId or password, although it is supported of your bot requires it.
TODO