Skip to Content

Deploy an SAP Conversational AI Chatbot to Microsoft Teams

test
0 %
Deploy an SAP Conversational AI Chatbot to Microsoft Teams
Details

Deploy an SAP Conversational AI Chatbot to Microsoft Teams

September 9, 2020
Created by
September 9, 2020
Enable an SAP Conversational AI chatbot to be run within Microsoft Teams.

You will learn

  • How to enable your chatbot within Microsoft Teams

Prerequisites

This tutorial shows you how to enable and test your chatbot in Microsoft teams, but does not include information on adding the chatbot to teams and channels within Microsoft Teams. For more information on this, see Manage your apps in the Microsoft Teams admin center.


Step 1: Create Microsoft Azure account
  1. Create a trial account at Microsoft Azure.

  2. After creating a trial account, make sure your subscription is set up properly.

    • Go to the Microsoft Azure portal.

    • Click Subscriptions.

    • Click your subscription (mine was called Azure subscription 1).

    • Click Resource Providers (menu on bottom left).

    Make sure the microsoft.insights is registered.

Log on to answer question
Step 2: Create Azure bot channel
  1. Go to the Microsoft Azure portal.

  2. Click Create a Resource.

    Create a Resource
  3. Search for and then select Bot Channels Registration.

    Bot Registration

    Click Create.

    Link text e.g., Destination screen
  4. Fill in the registration form.

    Link text e.g., Destination screen
    Field Name Input Value
    Bot Name A unique display name for the bot (which will appear in channels and directories – this can be changed later)
    Subscription Your Azure subscription (in my trial, I had only one)
    Resource Group Select a resource group. If you don’t have one – which you probably won’t have – then create a new one.
    Location Choose a location near where your bot is deployed
    Pricing Tier F0 (10K Premium Messages)
    Messaging endpoint This will be filled out later
    Application Insights On
    Application Insights Location Choose a location near where your bot is deployed

    Click Create.

It may take a few minutes for the registration to take effect and be listed in your resources list.

Log on to answer question
Step 3: Get your app ID and secret
  1. Go to the Microsoft Azure portal, and then go to the Dashboard.

    Dashboard
  2. In the dashboard, click the resource you just created.

  3. Click Settings, and scroll down.

    • Generate a Client Secret by clicking Manage, then New Client Secret, then Add.

    • Copy the Microsoft App ID and Client Secret, for use later.

    ID and secret
Log on to answer question
Step 4: Connect bot to Azure
  1. Go back to SAP Conversational AI.

  2. Open your bot, and go to the Connect tab.

    Connect tab
  3. Click on the row for Skype and Teams, and in the popup, enter the app ID and client secret from Azure.

    Copy endpoint

    An endpoint will be created. Copy it.

    Link text e.g., Destination screen
  4. Go back to your resource in Azure, and under Settings, paste the endpoint into the Messaging Endpoint field.

    Paste endpoint

    Click Save (at top).

Log on to answer question
Step 5: Test bot in Azure
  1. Still in your resource in Azure, go to Test in Web Client.

    Open test

    At the bottom of the screen, there is a box for talking with your bot.

  2. Test your bot.

    Test
Log on to answer question
Step 6: Test bot in Teams
  1. Still in your resource in Azure, select Channels.

  2. Click the Microsoft Teams icon.

    Channels
  3. Click Save.

    Publish
  4. Navigate back to the Channels main page (you may have to navigate away or refresh the page).

  5. Click on Microsoft Teams to open the Teams application.

    Open Teams
  6. Test your bot in the Teams application.

    Test in Teams
Log on to answer question
Step 7: Test yourself
Within the Microsoft Azure resource, which of the following do you set?
×

Take It Further

Next Steps

Back to top