Tutorial: Create (csharp)

Provision your Azure resources

The Virtual Assistant require the following dependencies for end to end operation which are created through an ARM script which you can modify as required.

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

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:

     ./Deployment/Scripts/deploy.ps1
    

    ### What do these parameters mean?

    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.