Tutorial: Create (csharp)

Deploy your assistant

The Virtual Assistant requires the following Azure dependencies to run correctly:

  • Azure Web App
  • Azure Storage Account (Transcripts)
  • Azure Application Insights (Telemetry)
  • Azure CosmosDb (State)
  • Language Understanding
  • QnA Maker (including Azure Search, Azure Web App)

To deploy your Assistant using the Azure Resource Manager (ARM) template provided in the project template, follow these steps:

  1. Open PowerShell Core (pwsh.exe)
  2. Change to the project directory of your assistant.
  3. Run the following command to login to Azure:
     az login
    
  4. Run the following command to deploy your Azure resources using the default settings:

     ./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. Yes
    location The region for your Azure resource group. 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. 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.