Tutorial: Create (typescript)

Deploy your assistant

The Virtual Assistant requires the following Azure dependencies to run correctly. These are created through an ARM (Azure Resource Manager) script (you can modify this to meet your requirements).

  • Azure Web App
  • Azure Storage Account (Transcripts)
  • Azure Application Insights (Telemetry)
  • Azure CosmosDb (State)
  • Azure Cognitive Services - Language Understanding
  • Azure Cognitive Services - QnAMaker (including Azure Search, Azure Web App)

Review the pricing and terms for the services and adjust to suit your scenario.

  1. Run PowerShell Core (pwsh.exe) and change directory to the project directory of your assistant/skill.
  2. Run the following command to login to Azure:
     az login
    
  3. Run the following command:

     ./Deployment/Scripts/deploy.ps1
    
    Parameter Description Required
    name Unique name for your bot. By default this name will be used as the base name for all your Azure Resources and must be unique across Azure so ensure you prefix with something unique and not MyAssistant Yes
    location The region for your Azure Resources. By default, this will be the location for all your Azure Resources Yes
    appPassword The password for the Azure Active Directory App that will be used by your bot. It must be at least 16 characters long, contain at least 1 special character, and contain at least 1 numeric character. If using an existing app, this must be the existing password. Yes
    luisAuthoringKey The authoring key for your LUIS account. It can be found at https://www.luis.ai/user/settings or https://eu.luis.ai/user/settings Yes
    luisAuthoringRegion The authoring region for your LUIS account. Review the LUIS regions documentation for more information. Yes

You can find more detailed deployment steps including customization instructions in the Deployment Scripts reference.

For manual deployment steps, refer to the Deploy using CLI tools and Deploy using web tutorials.