Jump to content

Create and Deploy a Healthcare Chatbot with Azure Health Bot: Step-by-Step Guide


Recommended Posts

Guest john_aziz
Posted

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.

 

largevv2px999.png.c5cdf6bf183841811ae14f84846e2331.png

 

 

 

 

 

Choose your preferred account and proceed

 

Now you are inside the Azure portal!

 

largevv2px999.png.fef56f4ebbaa44f57d6acc37384c64cc.png

 

 

 

 

 

Step 2: Create an Azure Health Bot Instance

 

 

Search for Azure Health bot and select it.

 

largevv2px999.png.58b4b2231bfdec918226397c4fe4897c.png

 

 

 

 

 

 

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

 

largevv2px999.png.7dde4e2683cc3a5bf64fa3cc28a935e8.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.

 

 

largevv2px999.png.4b01f9e956ef2ea82f476545df231010.png

 

 

 

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

 

largevv2px999.png.6daa08df0d51b351878729a4e725bfba.png

 

 

 

 

 

Step 3: Create a Mental Health Bot using templates

 

 

Open the health bot management portal using the Management portal link

 

largevv2px999.png.f2aedb4ff03b959e41db41f6005fa1b8.png

 

 

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

 

largevv2px999.png.7f8a260cb035e19b2515df4bd59b4ece.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.

 

largevv2px999.png.0819dfab996bddf1ecd0ac97bb9f8a29.png

 

 

 

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

Click open.

 

largevv2px999.png.cb60af25b8157bc8f46c347f040f975f.png

 

 

 

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

 

largevv2px999.png.df3c165702684bb0a9cca12f6e28e4e8.png

 

 

 

Congratulations you have created your first healthcare bot!!

You can test it from the chat window on the right of the screen.

 

largevv2px999.png.2fccd47b3ea442fc3977f6cf1242ba95.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.

 

largevv2px999.png.b375764ff8448f886d912d3a67870221.png

 

 

 

Click on Deploy to Azure after you create a fork from the repository readme.

No need to edit anything in the repo!

 

largevv2px999.png.f15fa2d8d89d6282f1fc125a83506396.png

 

 

 

 

 

 

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

 

largevv2px999.png.6292c204b4fbe815c9ef3c48a018ce7d.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

largevv2px999.png.1e70b18d336cc37fade70968fbabd131.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.

 

largevv2px999.png.e203bf2d5b7e020b6dda92c788bd50ec.png

 

 

 

Add them and click on Review + Create

 

largevv2px999.png.9365ac7db186f6eb54a35d8de450ed4c.png

 

 

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

 

largevv2px999.png.3553340a561a53cc69511e484c8f4e8a.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/

 

 

 

largevv2px999.png.9dc88aa8763d12d4f9989212aa73ae53.png

 

 

 

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

 

largevv2px999.png.fc6859971e2bc1282376b77b4d75d796.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!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...