DEV Community

Cover image for Create and Deploy a Healthcare Chatbot with Azure Health Bot: Step-by-Step Guide
John Aziz
John Aziz

Posted on • Originally published at techcommunity.microsoft.com

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

In this blog, you will learn how to create a Healthcare chatbot and how to deploy it to a website in some very simple steps.

No Programming/Coding background is needed!

Prerequisites:

An Azure subscription.

  • If you don’t already have one, you can sign up for an Azure free account.
  • For students, you can use the free Azure for Students offer which doesn’t require a credit card only your school email.

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 and use its Endpoint

Step 1: Open your Azure Portal and Sign in

  1. Go to the Azure portal and sign in.

    Sign in Image

  2. Choose your preferred account and proceed.

    Azure portal

Now you are inside the Azure portal!

Step 2: Create an Azure Health Bot Instance

  1. Search for Azure Health bot and select it.

    Image description

  2. Select Create to create a new instance from the service.

    Image description

  3. Perform the following tasks to create the resource:

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

    Image description

  4. Select Review + Create.

  5. Wait for the deployment to finish then select Go to resource.

    Image description

Step 3: Create a Mental Health Bot using templates

  1. Navigate to the health bot management portal using the Management portal link.

    Image description

  2. Select Template catalog from the left side menu to navigate to the available templates.

    Image description

  3. Here, you can find multiple templates that can be used to create a separate chatbot or even build your custom template.

  4. Scroll down and select the Mental Health screener template.

    Image description

  5. Select Import from the pop-up window.

    Image description

  6. Test it from the chat window on the bottom right of the screen.

    Image description

Congratulations you have created your first healthcare bot!!

Step 4: Deploy it to the internet and use its Endpoint

  1. Fork this GitHub repository github.com/microsoft/HealthBotContainerSample it's a simple deployable container website that allows users to communicate with the Azure Health Bot through Web Chat.

    Image description

  2. Select Deploy to Azure after you create a fork from the repository's readme.

    No need to edit anything in the repo!

    Image description

  3. Select the same resource group you used for creating the Azure health bot.

    Image description

  4. Add your chatbot credentials which are the App Secret and the WebChat Secret.

    Image description

  5. 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.

    Image description

  6. Select Review + Create.

    Image description

  7. Select Create and wait for the provisioning to finish.

  8. Open the Web App page and get the Default Domain name.

    Image description

  9. Test the deployed website and share it with others to test it and give you their feedback!

    Image description

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

Found this useful? Share it with others and follow me to get updates on:

Feel free to share your comments and/or inquiries in the comment section below..
See you in future demos!

Top comments (0)