Scaricare l'open source Bot Libre Community Edition e installare Bot Libre nel proprio server
Bot Libre Forum

How to Connect a Bot to Skype with Azure Bot Channels (Updated)

da mike2016 postato Aug 4 2017, 11:23

Through Bot Libre, you can now send and receive messages on Skype with your own bot. This "How To" will give you a step by step process to connect your bot with Skype.

Step 1 - Create a Bot

First you must create a bot that you want to connect to Skype, or you can use one of your existing bots. To create a bot, follow the instructions here: How to create your own chat bot in 10 clicks.

Step 2 - Sign Up For Microsoft Azure

Click the "Start free" button to begin creating your account.

You will then need to fill out the form on the following page:

On this form, you will need to verify your phone number and credit card information.

Once you have finished verifying your information, submit the form and you will be taken to this screen:

Click the "Skip and continue to the Azure portal" button.

Step 3 - Create A Bot on the Azure Portal

You will now be taken to the Azure dashboard, as shown below:

 Click on the "All services" link on the left sidebar, then scroll down to the "Other" section and click on "Bot Services".

On the following screen, click the "Create Bot Services" button.

Select the "Bot Channels Registration" option, then click the "Create" button.

You will now need to fill in some information to create your bot.

You will need to enter a unique bot name, and select a subscription option. For the "Resource group" option, you can leave "Create new" selected. Selection a location that makes sense for your bot. You will then need to select your pricing tier. Click the "View full pricing details" link for more information about which options are available to you.

In another window, navigate to the Bot Libre site and go to the Admin Console of the bot that you would like to connect to Skype. In the 'Skype' section of the bot's Admin Console, copy the 'Skype Messaging Endpoint URL' to your clipboard.

 

Return to the Azure bot creation form and paste the Skype Messaging Endpoint URL into the "Messaging endpoint" field. You can leave the "Application Insights" fields at their default values.

Click on "Microsoft App ID and password" at the bottom of the form. Then click "Create New" in the "Create Microsoft App ID" tab.

Click the "Create App ID in the App Registration Portal" link to continue. The following will appear:

Copy the "App ID" over to the corresponding field on the previous form. Then, click the "Generate an app password to continue" button.

A popup will appear with a password. Copy this password to the corresponding field on the previous form.

Click the "Finish and go back to Bot Framework" button.

You will also need to enter the App ID and Password into the corresponding fields on your bot's Skype settings page on the Bot Libre website. Press "Save" when complete.

Return to the Azure bot creation form and click the "Create" button on the bottom of the form to finish creating your bot on the Azure portal. 

Step 4 - Connect to Skype

You will be returned to the Azure dashboard. After a short time, your new bot will appear on the dashboard. 

Click on the link to your bot's "Bot Channels Registration". Then, select the "Channels" option in the menu as shown below.

Click on the Skype logo to continue.

If you would like to publish your bot in the Skype directory, click on the "Publish" link and fill out and submit the form. Otherwise, your bot will remain in preview and only you and any one else who has a link to it will be able to chat with it.

When you are finished, press the "Save" button.

To begin chatting with your bot, return to the "Channels" menu, and click on the "Skype" link.

You will be able to add your bot to your Skype contacts here. 

Click the "Get Started" button.

Click the "Add to Contacts" button, and your bot should now appear in your Skype contacts for you to chat with.

Your bot should now be able to send and receive messages on Skype. If you encountered any issues, or would like help setting up your bot please email us at [email protected] or upgrade to Bot Libre for Business or our Platinum service and we can build your bot for you.

Test it out now by talking with our demo bots Brain Bot or Julie on Skype

The Azure Bot Channels also provide a gateway to connect your bot to many other services. These include, Kik, Bing, Cortana, Email, Facebook, GroupMe, MSTeams, Slack, Telegram and Twilio. To connect your bot to any of these platform just follow the same instructions as for Skype, then connect your bot to the service from the Channels menu of your bot's settings page on the Azure portal.

If you encountered any issues, or would like help setting up your bot please email us at [email protected] or upgrade to our Platinum service and we can build your bot for you.


by priti posted Aug 19 2017, 5:51

Dear Admin, 

How can i change chat message for my bot?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4010, today: 0, week: 4, month: 54

by admin posted Aug 19 2017, 7:21
You can train your bot's responses from its Training & Chat Logs page in its Admin Console.

See,
https://www.botlibre.com/forum-post?id=483549

Also see our docs here,
https://www.botlibre.com/doc.jsp

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3900, today: 0, week: 10, month: 57

by 6814285068184747772 posted Mar 14 2018, 13:43

Last week I tried to connect my Botlibre's bot to Skype, I've dealed with Azure's settings, but I didn't succeed.

Is the instruction at this webpage correct? I doubt if "Step 3 - Create a Bot on Microsoft's Bot Framework" is fully correct.

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3850, today: 0, week: 5, month: 49

by admin posted Mar 15 2018, 3:11
These steps should be correct, although Microsoft may have changed the user interface.
Which part of step 3 are you having issues with?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4055, today: 0, week: 8, month: 76

by 6814285068184747772 posted Mar 15 2018, 11:35

I haven't met this part of step 3 "You will now need to fill out some information on the following form:"

After I created Bot at dev.botframework.com, I was redirected to "portal.azure.com" with new free registration, another user interface.

As far as I understood at portal.azure.com, there are three resources: Functions Bot, Bot Channels Registration, Web App Bot. What am I to do?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3998, today: 0, week: 8, month: 61

by mike2016 posted Mar 29 2018, 11:36

Hello, this How To Guide has now been updated with instructions to connect your bot to Skype through the new Azure portal.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3868, today: 0, week: 4, month: 62

Id: 18556425
Tag: how to, skype, bing, cortana, kik, groupme, microsoft bot framework, msteams, azure
Postato: Aug 4 2017, 11:23
Aggiornato: Sep 20 2021, 10:54
Risposte: 4
Vista: 13513, oggi: 2, settimana: 53, mese: 278
1 0 5.0/5