A bot is the easiest way to communicate and get answers to frequently asked questions. Users get a response immediately and organizations can support their customers 24×7.
Unlike other bots that are available on business web pages and provide visibility only to the customers visiting their site, a Skype bot is available as all-in-one communication service on all the major platforms like Android, iOS, Windows, and macOS.
Using the SAP Conversational AI bot building platform, we created a step-by-step integration process so that it takes only a few minutes to deploy your chatbot to Skype and allow users to chat with it. The best way to learn anything new is to try hands-on, so let’s dive in!
Step 1: Create a chatbot with SAP Conversational AI bot building platform
The first step is to create a chatbot in SAP Conversational AI. To begin with, create an account in the platform (It’s absolutely free!). You can follow this easy tutorial on “How To Build Your First Bot With SAP Conversational AI” in order to build a basic chatbot.
Once it’s ready, come back to this page.
Step 2: Create an account in Microsoft Azure (for Skype integration)
To integrate your bot to Skype, you need to create an account in Microsoft Azure. Microsoft offers:
- 12-month free service for first-time users.
- $200 free credit to experiment with any Azure service in your first 30 days
- 25+ always free products
Once you’ve created an account, return to this page for further steps.
Step 3: Bot registration in Microsoft Azure
1. Login to your Microsoft Azure account here.
2. Click “Create a resource” on the top left corner of the screen.
3. Search for “Bot Channels Registration”.
4. Click “Create” to start the creation process.
5. Provide the information in the Bot Service dialog as specified in the following figure and click “Create“. Note that the “Messaging endpoint” needs to be filled later.
|Field Name||Input Value||Description|
|Bot Name||Your bot’s display name||Provide a display name for the bot that appears in channels and directories. This name can be changed at anytime.|
|Subscription||Your subscription||Select the Azure subscription you want to use.|
|Resource Group||myResourceGroup||Create a new resource group or choose from an existing one.|
|Location||East Asia||Choose a location near where your bot is deployed.|
|Pricing Tier||F0||Select a pricing tier. You may update the pricing tier at any time. There are two pricing tiers: Free and Standard.|
|Messaging endpoint||URL||Enter the URL for your bot’s messaging endpoint (needs to be filled later)|
|Application Insights||On||Decide if you want to turn Application Insights On or Off.|
|Microsoft App ID and password||Auto create App ID and password||Use this option if you need to manually enter a Microsoft App ID and password. Otherwise, a new Microsoft App ID and password will be created for you in the bot creation process.|
The notification icon displays if the bot creation has been successful. The notifications will change from “Deployment in progress” to “Deployment succeeded”.
If you face the error “Resource provider ‘Microsoft.Insights’ not registered for the subscription”, then do the following:
- In the Azure Portal, browse “Subscriptions” > “Select your subscription” > “Resource Providers” (under Settings).
Here you can see the registration status of the provider. It should be “Registered”.
6. Get your “App ID” and “Client Secret”.
- For the “App ID”, navigate to the dashboard and select your resource. Go to “Settings” > Get “Microsoft App ID”.
- For Client Secret, click “Manage” next to the “Microsoft App ID”. This link opens a window where you can generate a new password.
- Copy the “Microsoft App ID” and password.
Step 4: Connect SAP Conversational AI and Azure with the Bot Connector
1. Login to SAP Conversational AI and select your bot. Navigate to the “Connect” tab.
2. Click Skype.
3. In the pop up, enter the “Microsoft App ID” and Password that you had generated. Click “Connect“. You will receive a Messaging endpoint.
4. Copy the endpoint.
5. Go to your Azure account > select your resource > navigate to settings > enter the “Messaging endpoint” under configuration that you copied from SAP Conversational AI.
6. Save the changes.
Step 5: Test your bot
You can now test your bot on Microsoft Azure by clicking on the tab “Test in Web Chat”.
You can also monitor your log feed in SAP Conversational AI under the “Monitor” tab, using the Bot Analytics capability of the bot platform.
Step 6: Connect your bot to channels like Skype
By default, your chatbot is only connected to the Webchat channel in Microsoft Azure.
1. To add Skype, go to “Dashboard” > Select your resource > Navigate to the “Channels” tab > Select Skype.
2. A new window appears > Navigate to “Publish” Tab > Click “Save”.
3. Add the bot to your Skype contacts by navigating to channels > Select “Skype”. In the new window, click “Add to Contacts”.
A new contact will be added to your Skype and you can start chatting 😊
Congratulations! You now have a Skype bot, powered by SAP Conversational AI!
Hope you enjoyed this tutorial. If you have any questions about it, feel free to ask us in the comments section below or go to SAP Answers.
Happy bot building 🤖