Microsoft Teams
Deploying a Smartly Bot to Microsoft Teams
This guide will walk you through the process of deploying a Smartly bot on Microsoft Teams using Azure Bot Services.
Prerequisites
Before starting, ensure you have:
- A Microsoft Azure account.
- Access to Microsoft Teams (Enterprise or Microsoft 365).
For more details, refer to the official Microsoft Learn documentation.
Step 1: Create an Azure Bot Application
Access the Azure Portal
- Go to Azure Portal and sign in.

- Click Create a Resource and search for Azure Bot.

- Select Azure Bot and click Create.
Configure the Azure Bot Resource
- Fill in the required details:
- Bot Name
- Resource Group
- Region
- Pricing Plan
- Click Create and wait for the deployment to complete.

Step 2: Generate a Client Secret
Access Bot Settings
- In the Azure Portal, open your Azure Bot resource.
- Navigate to Configuration.
- Next to Microsoft App ID, click Manage.

Create a Client Secret
- In Azure Active Directory (Azure AD), go to Certificates & Secrets.
- Click New Client Secret.
- Add a description, set an expiration period, and click Add.
- Copy the generated secret value.

Step 3: Configure the Webhook
Generate the Webhook in Smartly
- Enter the Microsoft App ID found in the Configuration section.
- Paste the Client Secret you copied earlier.
- Copy the generated Webhook URL and save it.

Define the Messaging Endpoint in Azure
- In the Azure Portal, open your Azure Bot resource.
- Navigate to Configuration.
- Paste the Webhook URL into the Messaging Endpoint field.
- Click Save.

Step 4: Test the Bot in Web Chat
Configure the Web Chat Channel
- In Azure, open your Azure Bot resource.
- Navigate to the Channels section.
- Select Web Chat and follow the setup instructions.
- Click Save.
Test the Bot in Web Chat
- Open Azure Portal.
- Go to your bot’s Test in Web Chat section.
- Type a message and verify the bot's response.

Test the Bot in MS Teams
- Find your bot in the Applications section. Click on it to start the conversation
- Ask your first question
- The bot will respond you
Your Smartly bot is now live on Microsoft Teams! 🚀
Updated about 19 hours ago