Create and Deploy a Healthcare Chatbot with Azure Health Bot: Step-by-Step Guide
Published Jun 09 2023 12:00 AM 4,161 Views
Iron Contributor

Hey all, I'm John 22 years old Senior Computer Engineering student at Modern Academy for Engineering, Full-Stack Developer Nanodegree Session Lead at Udacity, Gold Microsoft Learn Student Ambassador.

In this demo, I will guide you through creating a Healthcare chatbot and then how we can deploy it in some very simple steps.

No Programming/Coding background needed!

Prerequisites:

An Azure subscription.

Summary of the steps:

Step 1: Open your Azure Portal and Sign in
Step 2: Create an Azure Health Bot Instance
Step 3: Create a Mental Health Bot using templates
Step 4: Deploy it to the internet using its Endpoint

 

Step 1: Open your Azure Portal and Sign in

Go to https://portal.azure.com and sign in.

LeeStott_0-1686207594745.png

 


 

Choose your preferred account and proceed

Now you are inside the Azure portal!

LeeStott_3-1686214508976.png

 


 

Step 2: Create an Azure Health Bot Instance

Search for Azure Health bot and select it.

LeeStott_2-1686214489079.png

 


 

Click on Create in order to create a new instance from the service

LeeStott_1-1686214463735.png

 


 

What do you need in order to create it?

  • Azure Subscription (learn more: here)
  • Azure Resource Group (learn more: here)
  • Name (Unique name that matches the constraints for naming on Azure)
  • Region (Choose the region closest to you and your customers)
  • Plan (learn more: here)

then Click Review + Create.


LeeStott_0-1686214438792.png

 

Wait for the deployment to finish then click on Go to resource.

LeeStott_0-1686214600032.png

 


 

Step 3: Create a Mental Health Bot using templates

Open the health bot management portal using the Management portal link

LeeStott_1-1686214675489.png

 

Choose switch to template catalog to select the template that we need

john_aziz_8-1686117515827.png

 

You can find multiple templates each one of the templates can be used to create a separate chatbot and you can choose to build your custom template.

john_aziz_9-1686117516259.png

 

For this demo, we will Scroll down and choose the mental health screener you can choose anything you want. 
Click open.

john_aziz_10-1686117516438.png

 

Click on Import from the pop-up window that opened.

john_aziz_11-1686117516201.png

 

Congratulations you have created your first healthcare bot!!
You can test it from the chat window on the right of the screen.

john_aziz_12-1686117515849.png

 

Step 4: Deploy it to the internet using its Endpoint

Fork this repo https://github.com/microsoft/HealthBotContainerSample provided by Microsoft as a simple deployable container website that allows users to communicate with the Azure Health Bot through a WebChat.

john_aziz_13-1686117515682.png

 

Click on Deploy to Azure after you create a fork from the repository readme.
No need to edit anything in the repo!

LeeStott_2-1686214759150.png

 


 

Choose the same resource group we used for creating the Azure health bot

LeeStott_0-1686230913211.png

 

You may leave the configuration parameters as it is and not change them or tweak them how you like that’s totally up to you!
But it’s important to add your chatbot credentials which are:

  • App Secret
  • Webchat Secret
LeeStott_0-1686231091549.png

 

You can find the secrets required inside the Azure health bot management portal under the Integration tab from the left side panel then choose secrets and keys and scroll down.

LeeStott_5-1686231596803.png

 

Add them and click on Review + Create

LeeStott_4-1686231449361.png

 

Now you can create your deployed web chat just wait for the deployment to finish after you click on create.

LeeStott_3-1686231366544.png

 

Once the deployment is finished You need to open the Web App Page and get the default domain

It will be something like this: https://healthcare-bot-pnkep3eijjls4.azurewebsites.net/

 

LeeStott_2-1686231285986.png

 

You can test the deployed website and share it with others to test it and give you their feedback!

john_aziz_21-1686117515676.png

 

Thank you for following along... you can learn more at Create intelligent health bots with Azure Health Bot - Training | Microsoft Learn

See you in future demos!

 

2 Comments
Co-Authors
Version history
Last update:
‎Jul 18 2023 12:58 PM
Updated by: