How do I create and publish a Skype Bot?

A. Create a Microsoft Bot:


If you do not have a Microsoft account, go to https://login.live.com/ and sign up.

1. Go to https://dev.botframework.com/ -> click on register a bot -> create an account.
Image 575


2. Fill in the necessary details - Name, Bot handle, Description

3. In the configuration section -> message endpoint will be https://prod-bot-mediation-layer.onsequel.com/skype

/bots/botId (botID is "Bot handle")


4. Click on "Create Microsoft App ID and password" button

Image 609



5. Click on "Generate an app password to continue" buttonA password is generated. Note down this App Password as shown in the below screenshot for future reference which is required to publish your bot


Image 577


Image 578



6. The App ID and Password are now generated and saved as shown in the below screenshot


Image 579


7. Click on "Finish and go back to Bot Framework" button.

Note down the App ID for future reference which is required to publish your bot

Image 581


8.Click on "Register" button and your Bot is created


Image 582

Image 583



============Retrieving BotId and Bot details ================


1. Go to your Microsoft botframework and select My bots

Image 584


2. Select the bot (for e.g. "Testbot") you've created and click on "Edit" button next to Details
3. We will temporarily change the messaging endpoint to retrieve the bot details. Change the endpoint URL from https://prod-bot-mediation-layer.onsequel.com/skype/bots/testbot to https://prod-bot-mediation-layer.onsequel.com/test/store/testbot

("skype" changed to "test" and "bots" changed to "store" in the above URL)

Once the message endpoint is changed, click on "Save Changes"

Image 585


4. In your Botframework under "Channels" section, click on "Add to Skype"

Image 610


5. Now, click on "Add to Contacts"


Image 612



6. The Skype application will be launched

7. Now, send a message in this chat



Image 613



8. Now, hit this URL in your browser in a new tab

https://prod-bot-mediation-layer.onsequel.com/test/fetch/testbot

Note: testbot is a tag name. This name should be same as you've set in the Configuration section as shown in the below screenshot (in the below example, the tag name is "testbot")

So, the URL will be https://prod-bot-mediation-layer.onsequel.com/test/fetch/testbot


Image 604


9. Once you've hit the above URL as mentioned in #18 above, you will receive a response as shown in the below screenshot


Image 614


Make a note of the "recipient ID"


10. Now, go back to botframework and under "Configuration", edit the "Messaging endpoint" URL from https://prod-bot-mediation-layer.onsequel.com/test/store/testbot to https://prod-bot-mediation-layer.onsequel.com/skype/bots/recipientID

("test" is changed to "slack", "store" is changed to "bots" and "testbot" to "recipient ID" which is 28:c34c6e67-b2c0-4a63-935d-38e17810591b)

Click on Save Changes


Image 615



Publish your bot on Skype


1. When you are ready to publish your bot at www.onsequel.com, choose "Skype" in the platform as shown in the below screenshot

2. Fill in the required details and click on "Publish"

a) Skype Bot ID/Recipient ID

b) Microsoft App ID

c) Microsoft App Password


Image 617



Yay! You're bot is now LIVE on Skype!


Launch Skype, search for your bot name and start chatting!

This article was helpful for 10 people. Is this article helpful for you?