GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Navigating the Kore.ai XO Platform
Building a Virtual Assistant
Help & Learning Resources
Release Notes
Current Version
Recent Updates
Previous Versions
Deprecations
Request a Feature
CONCEPTS
Design
Storyboard
Overview
FAQs
Conversation Designer
Overview
Dialog Tasks
Mock Scenes
Dialog Tasks
Overview
Navigate Dialog Tasks
Build Dialog Tasks
Node Types
Overview
Intent Node
Dialog Node
Dynamic Intent Node
GenAI Node
GenAI Prompt
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Process Node
Agent Transfer
Node Connections
Node Connections Setup
Sub-Intent Scoping
Entity Types
Entity Rules
User Prompts or Messages
Voice Call Properties
Knowledge AI
Introduction
Knowledge Graph
Introduction
Terminology
Build a Knowledge Graph
Manage FAQs
Knowledge Extraction
Import or Export Knowledge Graph
Prepare Data for Import
Importing Knowledge Graph
Exporting Knowledge Graph
Auto-Generate Knowledge Graph
Knowledge Graph Analysis
Answer from Documents
Alert Tasks
Small Talk
Digital Skills
Overview
Digital Forms
Digital Views
Introduction
Widgets
Panels
Session and Context Variables
Context Object
Intent Discovery
Train
NLP Optimization
ML Engine
Overview
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
Training Validations
NLP Configurations
NLP Guidelines
LLM and Generative AI
Introduction
LLM Integration
Kore.ai XO GPT Module
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
Intelligence
Introduction
Event Handlers
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Conversation Driven Dialog Builder
Sentinment Management
Tone Analysis
Default Standard Responses
Ignore Words & Field Memory
Test & Debug
Overview
Talk to Bot
Utterance Testing
Batch Testing
Conversation Testing
Conversation Testing Overview
Create a Test Suite
Test Editor
Test Case Assertion
Test Case Execution Summary
Glossary
Health and Monitoring
NLP Health
Flow Health
Integrations
Actions
Actions Overview
Asana
Configure
Templates
Azure OpenAI
Configure
Templates
BambooHR
Configure
Templates
Bitly
Configure
Templates
Confluence
Configure
Templates
DHL
Configure
Templates
Freshdesk
Configure
Templates
Freshservice
Configure
Templates
Google Maps
Configure
Templates
Here
Configure
Templates
HubSpot
Configure
Templates
JIRA
Configure
Templates
Microsoft Graph
Configure
Templates
Open AI
Configure
Templates
Salesforce
Configure
Templates
ServiceNow
Configure
Templates
Stripe
Configure
Templates
Shopify
Configure
Templates
Twilio
Configure
Templates
Zendesk
Configure
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
NiceInContact(User Hub)
Salesforce
ServiceNow
Configure Tokyo and Lower versions
Configure Utah and Higher versions
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
Deploy
Channels
Publishing
Versioning
Analyze
Introduction
Dashboard Filters
Overview Dashboard
Conversations Dashboard
Users Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Custom Meta Tags
Create Custom Dashboard
Create Custom Dashboard Filters
LLM and Generative AI Logs
NLP Insights
Task Execution Logs
Conversations History
Conversation Flows
Conversation Insights
Feedback Analytics
Usage Metrics
Containment Metrics
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Team Collaboration
Plan & Usage
Overview
Usage Plans
Templates
Support Plans
Invoices
Authorization
Conversation Sessions
Multilingual Virtual Assistants
Get Started
Supported Components & Features
Manage Languages
Manage Translation Services
Multiingual Virtual Assistant Behavior
Feedback Survey
Masking PII Details
Variables
Collections
IVR Settings
General Settings
Assistant Management
Manage Namespace
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
HOW TOs
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking Assistant
Design Conversation Skills
Create a Sample Banking Assistant
Create a Transfer Funds Task
Create a Update Balance Task
Create a Knowledge Graph
Set Up a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Add Data to Data Tables
Update Data in Data Tables
Add Data from Digital Forms
Train the Assistant
Composite Entities
Use Traits
Use Patterns for Intents & Entities
Manage Context Switching
Deploy the Assistant
Configure an Agent Transfer
Use Assistant Functions
Use Content Variables
Use Global Variables
Intent Scoping using Group Node
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters
Migrate External Bots
Google Dialogflow Bot
APIs & SDKs
API Reference
API Introduction
Rate Limits
API List
koreUtil Libraries
SDK Reference
SDK Introduction
Web SDK
How the Web SDK Works
SDK Security
SDK Registration
Web Socket Connect and RTM
Tutorials
Widget SDK Tutorial
Web SDK Tutorial
BotKit SDK
BotKit SDK Deployment Guide
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
SDK Functions
Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Channel Enablement
  5. Adding the Microsoft Teams Channel

Adding the Microsoft Teams Channel

You can add Microsoft Teams as a delivery channel to your Kore.ai Virtual Assistant to allow it to interact with end-users using Microsoft Teams.

Prerequisites

  • Ensure you have an account with the Microsoft Bot Framework.
  • Create a Bot Channel Service and register it in Azure.
  • Enable a webhook for the platform to receive messages.
  • Purchase an active subscription to Azure services with Admin access; required to subscribe to a new Azure service.

Step 1: Create an Azure Bot

Create an Azure Bot and configure it on the Kore.ai XO Platform to establish a communication channel between Microsoft Teams and the platform.

  1. Log in to the Azure portal, and click + Create a resource from the portal menu.
  2. Search and select Azure Bot on the page, and click Create.
  3. Fill in the required details, select the Single Tenant or Multi Tenant option in the Type of App field, and then click Review + Create.
  4. On the next page, review the details and check for the Validation status. Click Create to proceed.
  5. Associate the Azure Bot with a Microsoft App ID and Password. You can choose the default option: Auto create App Id and password. You can also choose to Create a new Microsoft App ID or Use existing app registration. For more information, see Microsoft Bot Framework documentation.
  6. Once the deployment is completed, click Go to resource to view details of your resource.

Step 2: Configure the Resource App Id and Password

Generate a new App Password and Client Secret to configure the Azure Bot on the Kore.ai XO Platform.

  1. On the Configurations tab, click the Manage option next to the Microsoft App ID field.
  2. Choose Certificates & secrets in the left navigation bar, and create a new client secret on the page:
    • Click the + New client secret option.
    • Provide the necessary details, and then click the Add option.
  3. Copy the Value of the new client secret and provide it in the App Password field present on the Configurations tab of the Kore.ai XO Platform. Refer Step 3: Enable Microsoft Teams Channel.
  4. Close the Certificates and secrets section to return the Configuration section of the resource using the breadcrumbs.
    Note: Make a note of the Microsoft App Id in the Azure Bot configurations page and provide it in the Configuration tab of this window.

Step 3: Enable Microsoft Teams Channel

Configure the MS Teams credentials on the Kore.ai XO Platform to establish communication between both.

    1. On the platform, select the assistant, and then go to the Deploy menu.
    2. Select the Microsoft Teams channel, click the Configuration tab, and then enter the following details: Multi Tenant Apps Configuration
      • Microsoft App ID – The app ID of your Azure Bot resource.
      • App Password – The App password value that you find in the Certificates & Secrets page of the Azure bot.
      • Enable Proactive Notifications (optional) – Drag the slider to enable proactive notifications.
      • Application (Client) ID – The app ID of your Azure Bot resource.
      • Client Secret – The client secret value that you find on the Certificates & Secrets page of the Azure bot.
      • Delivery (tenant) ID – The subscription ID that you can find on the Overview page of the Azure bot.

Single Tenant App Configuration

  1. Select the Single-Tenant option and enter the App Tenant ID value.
  2. Click Save.
  3. Copy the Webhook URL from the tab and paste it in the Messaging endpoint field on the Configurations module in Azure bot.
  4. Click Apply to save the entered value.
  5. Once the Configuration is completed, select the Channels option from the left menu and then select the Microsoft Teams channel.
  6. Select the I Agree checkbox on the Terms of Service dialog and then click Agree.
  7. Select the Microsoft Teams Commercial (most common) option to enable the Teams as per your commercial business requirements. If you want to enable the Azure bot for Government Community Cloud (GCC) organizations, select the Microsoft Teams Government option. Click the Learn more link next to the option on the screen for more information.
  8. Click Apply to complete the channel setup.
    Note: The Web Chat option of Bot Framework is not supported.

Step 4: Publish Your Bot in Teams

You can now publish the Azure bot on your MS Teams account so that your users can discover and converse with the bot.

To do so, create an MS Teams app, associate the bot with it, and then publish the app.

  1. Log in to the MS Teams account with admin credentials.
  2. Click Ellipsis […] in the left navigation bar and then select the Developer Portal icon to launch the Apps builder.

    Note: The Developer Portal view is only available on the Microsoft Teams Desktop client.
  3. On the Developer Portal page, select the Apps tab and then click the New App button.
  4. On the New App dialog, enter a name for the app, copy and paste the App ID of your Azure Bot in the App ID field, and then click Publish.
  5. On the Publish dialog, select the Publish to your org option.
  6. Grant the desired permissions to your MS Teams app.
  7. Click Publish your App and complete the publishing process.

Step 5: Approve the MS Teams App Publish Request

The request to publish the MS Teams App must be approved by an MS Teams Admin. Log in to the MS Teams Admin Portal and proceed to Teams apps > Manage apps. Search for the app that you published in the earlier step. Select the app and change the Publishing status to Published. This completes the process for publishing your bot for your Teams users.

Step 6: Configure Proactive Notifications [Optional]

If you want to send Proactive Notifications to your users, you need to perform a few more actions.

Note: You can skip the following sections and proceed to the Configurations tab if you do not intend to send Proactive Notifications.

To enable Proactive Notifications, follow these steps:

  1. Capture the App ID associated with the MS Teams App that is approved in Step 3. You can find this information on the details page of the app.
  2. Provide this App Id in the channel Configurations tab.  
  3. The bot requires additional app credentials for sending the Proactive Notifications. Go to the Azure portal, and click the More Services link.
  4. On the More Services page, search and select the App registrations.
  5. On the App registrations page, click New registration.
  6. Provide the required information and click Register.
  7. You are redirected to the details page of the newly registered app.
  8. From the Manage menu, select the API permissions section and then click the Add a permission option. From the Request API permissions, select Microsoft Graph and choose Application Permissions.
  9. From the permissions list, select the following permissions and click Add permissions.
    • TeamsAppInstallation.ReadForUser.All
    • TeamsAppInstallation.ReadWriteSelfForUser.All
    • TeamsAppInstallation.ReadWriteForUser.All
    • User.Read.All

  10. Click on the Grant admin consent for <domain name> option to complete the granting of the permissions.
  11. Proceed to the Certificates & secrets section and select the New client secret option. 
  12. Copy the Value of the newly created certificate and provide it on the Configurations tab of MS Teams Channel on the Kore.ai XO Platform.
  13. Overview section of the app and capture Application (client) ID, Directory (tenant) Id and provide them on the Configurations tab of this page.
  14. Navigate to the Configurations tab to review and enable the Microsoft Teams channel for your bot.

Related Links

  • Once the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available to end-users. Learn more about Publishing your Virtual Assistant.
  • To learn more about working with Channels within the Kore.ai XO Platform, see Channel Enablement.

Adding the Microsoft Teams Channel

You can add Microsoft Teams as a delivery channel to your Kore.ai Virtual Assistant to allow it to interact with end-users using Microsoft Teams.

Prerequisites

  • Ensure you have an account with the Microsoft Bot Framework.
  • Create a Bot Channel Service and register it in Azure.
  • Enable a webhook for the platform to receive messages.
  • Purchase an active subscription to Azure services with Admin access; required to subscribe to a new Azure service.

Step 1: Create an Azure Bot

Create an Azure Bot and configure it on the Kore.ai XO Platform to establish a communication channel between Microsoft Teams and the platform.

  1. Log in to the Azure portal, and click + Create a resource from the portal menu.
  2. Search and select Azure Bot on the page, and click Create.
  3. Fill in the required details, select the Single Tenant or Multi Tenant option in the Type of App field, and then click Review + Create.
  4. On the next page, review the details and check for the Validation status. Click Create to proceed.
  5. Associate the Azure Bot with a Microsoft App ID and Password. You can choose the default option: Auto create App Id and password. You can also choose to Create a new Microsoft App ID or Use existing app registration. For more information, see Microsoft Bot Framework documentation.
  6. Once the deployment is completed, click Go to resource to view details of your resource.

Step 2: Configure the Resource App Id and Password

Generate a new App Password and Client Secret to configure the Azure Bot on the Kore.ai XO Platform.

  1. On the Configurations tab, click the Manage option next to the Microsoft App ID field.
  2. Choose Certificates & secrets in the left navigation bar, and create a new client secret on the page:
    • Click the + New client secret option.
    • Provide the necessary details, and then click the Add option.
  3. Copy the Value of the new client secret and provide it in the App Password field present on the Configurations tab of the Kore.ai XO Platform. Refer Step 3: Enable Microsoft Teams Channel.
  4. Close the Certificates and secrets section to return the Configuration section of the resource using the breadcrumbs.
    Note: Make a note of the Microsoft App Id in the Azure Bot configurations page and provide it in the Configuration tab of this window.

Step 3: Enable Microsoft Teams Channel

Configure the MS Teams credentials on the Kore.ai XO Platform to establish communication between both.

    1. On the platform, select the assistant, and then go to the Deploy menu.
    2. Select the Microsoft Teams channel, click the Configuration tab, and then enter the following details: Multi Tenant Apps Configuration
      • Microsoft App ID – The app ID of your Azure Bot resource.
      • App Password – The App password value that you find in the Certificates & Secrets page of the Azure bot.
      • Enable Proactive Notifications (optional) – Drag the slider to enable proactive notifications.
      • Application (Client) ID – The app ID of your Azure Bot resource.
      • Client Secret – The client secret value that you find on the Certificates & Secrets page of the Azure bot.
      • Delivery (tenant) ID – The subscription ID that you can find on the Overview page of the Azure bot.

Single Tenant App Configuration

  1. Select the Single-Tenant option and enter the App Tenant ID value.
  2. Click Save.
  3. Copy the Webhook URL from the tab and paste it in the Messaging endpoint field on the Configurations module in Azure bot.
  4. Click Apply to save the entered value.
  5. Once the Configuration is completed, select the Channels option from the left menu and then select the Microsoft Teams channel.
  6. Select the I Agree checkbox on the Terms of Service dialog and then click Agree.
  7. Select the Microsoft Teams Commercial (most common) option to enable the Teams as per your commercial business requirements. If you want to enable the Azure bot for Government Community Cloud (GCC) organizations, select the Microsoft Teams Government option. Click the Learn more link next to the option on the screen for more information.
  8. Click Apply to complete the channel setup.
    Note: The Web Chat option of Bot Framework is not supported.

Step 4: Publish Your Bot in Teams

You can now publish the Azure bot on your MS Teams account so that your users can discover and converse with the bot.

To do so, create an MS Teams app, associate the bot with it, and then publish the app.

  1. Log in to the MS Teams account with admin credentials.
  2. Click Ellipsis […] in the left navigation bar and then select the Developer Portal icon to launch the Apps builder.

    Note: The Developer Portal view is only available on the Microsoft Teams Desktop client.
  3. On the Developer Portal page, select the Apps tab and then click the New App button.
  4. On the New App dialog, enter a name for the app, copy and paste the App ID of your Azure Bot in the App ID field, and then click Publish.
  5. On the Publish dialog, select the Publish to your org option.
  6. Grant the desired permissions to your MS Teams app.
  7. Click Publish your App and complete the publishing process.

Step 5: Approve the MS Teams App Publish Request

The request to publish the MS Teams App must be approved by an MS Teams Admin. Log in to the MS Teams Admin Portal and proceed to Teams apps > Manage apps. Search for the app that you published in the earlier step. Select the app and change the Publishing status to Published. This completes the process for publishing your bot for your Teams users.

Step 6: Configure Proactive Notifications [Optional]

If you want to send Proactive Notifications to your users, you need to perform a few more actions.

Note: You can skip the following sections and proceed to the Configurations tab if you do not intend to send Proactive Notifications.

To enable Proactive Notifications, follow these steps:

  1. Capture the App ID associated with the MS Teams App that is approved in Step 3. You can find this information on the details page of the app.
  2. Provide this App Id in the channel Configurations tab.  
  3. The bot requires additional app credentials for sending the Proactive Notifications. Go to the Azure portal, and click the More Services link.
  4. On the More Services page, search and select the App registrations.
  5. On the App registrations page, click New registration.
  6. Provide the required information and click Register.
  7. You are redirected to the details page of the newly registered app.
  8. From the Manage menu, select the API permissions section and then click the Add a permission option. From the Request API permissions, select Microsoft Graph and choose Application Permissions.
  9. From the permissions list, select the following permissions and click Add permissions.
    • TeamsAppInstallation.ReadForUser.All
    • TeamsAppInstallation.ReadWriteSelfForUser.All
    • TeamsAppInstallation.ReadWriteForUser.All
    • User.Read.All

  10. Click on the Grant admin consent for <domain name> option to complete the granting of the permissions.
  11. Proceed to the Certificates & secrets section and select the New client secret option. 
  12. Copy the Value of the newly created certificate and provide it on the Configurations tab of MS Teams Channel on the Kore.ai XO Platform.
  13. Overview section of the app and capture Application (client) ID, Directory (tenant) Id and provide them on the Configurations tab of this page.
  14. Navigate to the Configurations tab to review and enable the Microsoft Teams channel for your bot.

Related Links

  • Once the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available to end-users. Learn more about Publishing your Virtual Assistant.
  • To learn more about working with Channels within the Kore.ai XO Platform, see Channel Enablement.
Menu