Book Image

Building Bots with Microsoft Bot Framework

By : Kishore Gaddam
Book Image

Building Bots with Microsoft Bot Framework

By: Kishore Gaddam

Overview of this book

Bots help users to use the language as a UI and interact with the applications from any platform. This book teaches you how to develop real-world bots using Microsoft Bot Framework. The book starts with setting up the Microsoft Bot Framework development environment and emulator, and moves on to building the first bot using Connector and Builder SDK. Explore how to register, connect, test, and publish your bot to the Slack, Skype, and Facebook Messenger platforms. Throughout this book, you will build different types of bots from simple to complex, such as a weather bot, a natural speech and intent processing bot, an Interactive Voice Response (IVR) bot for a bank, a facial expression recognition bot, and more from scratch. These bots were designed and developed to teach you concepts such as text detection, implementing LUIS dialogs, Cortana Intelligence Services, third-party authentication, Rich Text format, Bot State Service, and microServices so you can practice working with the standard development tools such as Visual Studio, Bot Emulator, and Azure.
Table of Contents (10 chapters)

Registering your Bot in Bot Framework

Next, you need to register your bot with Bot Framework so that you can integrate your bot with channels such as Slack, Skype, Facebook, and many more. In Chapter 9, Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel, section Registering your Bot with Microsoft Bot Framework, we explained how to register your bot with dev.botframework, and refer to it to find out how to register your bot with Bot Framework. Following are the steps to register a bot:

  1. Once you are done registering your bot, copy the Microsoft App ID and Password, which you generated when you registered your bot. You can also get these values from your existing bot--edit settings page under Configuration section--as shown in the following screenshot:
  1. Now, go to bot project and open the web.config file. Under appSettings, update the MicrosoftAppID, MicrosoftAppPassword, and the BotId. The BotId...