Creating a Bot
Start course

In this course, you will learn how to create a chatbot to answer support questions about specific products and services. Along with this, you will learn how to combine the Azure Bot Service and Azure QnA Maker and to add speech input and output capabilities to help customers on mobile devices and those with impaired sight.

This course requires some previous knowledge of Azure and coding.

Learning Objectives

  • Create and configure an Azure QnA Maker knowledge base
  • Create an Azure Bot Service chatbot that answers questions
  • Enable speech recognition and synthesis on an Azure chatbot

Intended Audience

  • Those interested in artificial intelligence services on Azure, especially chatbots


  • Previous experience using Azure
  • Previous experience with writing code


The GitHub repository for this course is at


Now that our knowledge base is ready, let’s create a bot that uses it. Click “Create Bot”.

The name has to be globally unique, so I’ll call mine “caqnabot”. You’ll have to use a different name.

I’m going to change the location to “East US” so it’s in the same location as the QnA service I created. They don’t have to be in the same location, but it’s usually a good idea to keep services together for performance reasons. Change the pricing to the free tier. I’ll leave the SDK language as C#.

For the app service plan, it already selected the one I created for “caqna”. I’m going to turn off “Application Insights” again.

This is for registering the app in Azure Active Directory for authentication purposes. Leave it on “Auto create App ID and password” so you don’t have to do it manually.

Finally, click “Create”. It’ll take a while to finish, so I’ll fast forward. OK, it’s done, so click “Go to resource”.

If you click “Test in Web Chat”, you can try out the bot. Type something here.[Type “hello”.] Now type “languages supported” again and see what happens. Great, it came back with the answer.

In the next lesson, I’ll show you how to create a user-facing chat app, so if you’re ready, then go to the next video.

About the Author
Learning Paths

Guy launched his first training website in 1995 and he's been helping people learn IT technologies ever since. He has been a sysadmin, instructor, sales engineer, IT manager, and entrepreneur. In his most recent venture, he founded and led a cloud-based training infrastructure company that provided virtual labs for some of the largest software vendors in the world. Guy’s passion is making complex technology easy to understand. His activities outside of work have included riding an elephant and skydiving (although not at the same time).