Deploying A Simple Bot Using Microsoft Azure Bot Service

Introduction

In this article, I am going to demonstrate how to create a simple bot and deploying it using Microsoft Azure Bot Services.

What are Bots ?

An Internet bot, also known as web robot, WWW robot or simply bot, is a software application that runs automated tasks (scripts) over the Internet. Typically, bots perform tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for a human alone

What is Azure Bot Services ?

The Azure Bot Service provides an integrated environment that is purpose-built for bot development, enabling you to build, connect, test, deploy, and manage bots, all from one place.

Prerequisties

Microsoft Azure Subscription.If You don't have Subscription.Go to this following link to Free Trail !

Follow These steps to create a Bot using Azure Bot Services.

Sign-in into your Azure Portal.



Press NEW(+) in the Menu Blade --->Navigate to Data+Analytics --->Press Bot Service(Preview).

And then it open the Bot Service(preview) Blade.In that Enter the Details and select to pin to Dashboard then Press " Create " to Create the Bot.


The deployment succeeded is shown in the notification Blade.

                                           

Our bot is Successfully created and navigate our Bot in the DashBoard.



That Shows Our Bot is successfully Deployed.Next Step is to Configure our bot.

To Configure Our Bot Follow these Steps

In the dashboard , press the Our Bot Blade and it opens to the New tab into the Browser to create the App ID and Password for our Bot. Press "create a App ID and Password ".



Then It generates the App ID and Press "Generate an app password to continue".



After it's pressed to generate an app password it shows the Password and Copy that into The clipboard and then Press "OK".



And then Press "Finish and go back to Bot Framework".



Now we are going to paste our password in the Bot Framework and Choose our language. I chose "C#" For our bot Framework.


Scroll down and choose the Bot Template and choose the Basic Template for our Bot.Then Agree to the Terms and conditions and then Create bot to create our bot.


It opens our Bot Framework and in the "EchoDialog.csx" It shows the C# code .When you type "reset" It replies " Are you sure you want to reset the Count ?" You can change this dialog as per your wish.Then press the Test button to test our Bot.

Our Bot Starts to deploy. Type "reset" and it shows the result.


Our bot, using the Bot Framework,  is successfully Deployed using Azure Bot Services.

Summary

By using this bot service , we can use many automatic bot frameworks in our websites. I hope that you understand how to create and deploy the Bot using Azure Bot Services.


Similar Articles