hands-on lab

Integrating Azure Bots with Azure AI Services

Up to 1h 30m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Bots have a huge range of uses, including being used as virtual assistants, customer service reps, web app or microservice front ends,  and much more. Bots communicate naturally with customers and internal teams alike to provide intelligent, targeted solutions for nearly every business type.

Teams use Azure bots in part because of the tight integration they offer with most other Azure services. One common example is combining bots with AI services, to combine intelligent bots capable of understanding and responding intelligently to end-user comments. In this lab, you'll create an Azure bot, integrate it with the Azure AI Services API to allow it to guess the sentiment of end-users, and publish that bot to Azure Bot Service.

Lab Objectives

Upon completion of this lab you will be able to:

Intended Audience

This lab is intended for:

  • Developers
  • Cloud engineers
  • Anyone aiming to implement AI or machine learning within their workflow


You should be familiar with:

  • The principles of Node.js is helpful but not required
  • The principles of the Azure Portal is helpful but not required
  • Basic skills in Powershell is useful


September 27th, 2023 - Updated screenshots and instructions to reflect the latest UI

Environment before

Environment after

About the author

Matt Martinez, opens in a new tab
Cloud Content & Labs QA
Learning paths

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Retrieving Azure AI Services API Credentials
Connecting to the Lab Host Virtual Machine Using RDP
Creating an Azure Bot Locally
Integrating an Azure Bot with Azure AI Services
Deploy An Azure Bot Service Bot to Azure
Validating an Azure Bot Service Bot Deployment