You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.

Skip to end of banner
Go to start of banner

Set up the Cosmos DB

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

  1. Navigate to the Azure Portal.

  2. Create a Cosmos DB with Core (SQL).

  3. After Azure provisions the Cosmos DB, you will have to add a new database and a container. In the screenshot below database named bot_database and a container named botconfig is created.

    The Partition key should be “/id,” as shown below.



  4. Add two additional containers, conversations, and templates to the bot_database database. After you have added the containers, you should be able to list all containers and the database created.

  5. Find the Bot Service Deployment Package (i.e., _BotServiceDeploymentPackage.zip) and unzip the content into a folder.

    You can typically find the package in the location EmpowerID\WFS\EmpowerID Product Packages\Mobile Manager\Microservice v3\.


  6. Locate the Adaptive Card Templates folder in the Bot Service Deployment Package.

  7. Upload all the JSON files in the Adaptive Card Templates folder to the templates Cosmos DB container. You should be able to see the list of the uploaded files after completion.


  8. Now, we will add the settings from Cosmos Db into the configuration of the App Service created in Step 1; please add the following values for the keys and save the settings.

    1. CosmosDbAuthKey with the Primary Read-Write Key.

    2. CosmosDbDatabaseId with “bot_database“.

    3. CosmosDbContainerId with “botconfig“.

    4. CosmosDbEndpoint with the URI of the CosmosDb account.

In the next step, we will set up the Azure Key Vault.

Setting up the Vault

  • No labels