Create a bot
All bots created using the Microsoft Bot Framework are configured and ready to work in Microsoft Teams.
Get started on the Microsoft Teams platform with Node.js includes an app sample app with a bot, and has detailed steps for creating your first bot.
See the Bot Framework Documentation for general information on bots.
Create a bot for Microsoft Teams
Teams App Studio is a new tool that can help create your bot. It also contains a React control library and configurable samples for cards. See Getting started with Teams App Studio. The steps that follow assume that you are hand configuring your bot and not using Teams App Studio.
Create the bot using this link: https://dev.botframework.com/bots/new, being sure to add Microsoft Teams as a channel and that you re-use any Microsoft App ID you generated if you've already created your app package/manifest.
You must use this link to create a new bot: https://dev.botframework.com/bots/new. If you click on the Create a bot button in the Bot Framework portal instead, you will create your bot in Microsoft Azure instead.
Test the bot using the Bot Framework Emulator.
Deploy the bot to a cloud service, such as Microsoft Azure. Alternatively, run your app locally and use a tunneling service such ngrok to expose an https:// endpoint for your bot, such as
To make your bot experience Teams-ready:
- Create an uploadable app package and upload it to a team to test it in action.
- Add tabs or other capabilities to make your experience shine in Teams.
- Submit your final app package for publication in AppSource (formerly known as Office Store).
Bots and Microsoft Azure
As of December, 2017, the Bot Framework portal is optimized for registering bots in Microsoft Azure. Here are some things to know:
- While it's possible to create a new Bot Framework bot without using Azure, you must use that URL (https://dev.botframework.com/bots/new), which is no longer exposed in the Bot Framework portal.
- When you edit the properties of an existing bot in the list of your bots in Bot Framework such as its "messaging endpoint," which is common when first developing a bot, especially if you use ngrok, you will see "Migration status" column and a blue "Migrate" button that will take you into the Microsoft Azure portal. Don't click on the "Migrate" button unless that's what you want to do; instead, click on the name of the bot and you can edit its properties:
- If you register your bot using Microsoft Azure, it does not need to be hosted on Microsoft Azure.
- If you do register a bot using Microsoft Azure portal, you must have a Microsoft Azure account. You can create one for free. To verify your identity when you create one, you must provide a credit card, but it won't be charged; it's always free to create and use bots with Microsoft Teams.
- In the near future, you'll be able to register/update app and bot information directly within Microsoft Teams. Once this is supported, you'll only have to use the Microsoft Azure portal for adding/configuring other Bot Framework channels such as Direct Line, Web Chat, Skype, Facebook Messenger, etc.