Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Configure the Project to Match Your Environment (NodeJs)

Alex Terentiev edited this page Sep 22, 2023 · 14 revisions
  1. Ensure node version is v16.19.0
  2. Navigate to BotPoweredACEPreview/BotBuilderNodeJs and run:
npm install --legacy-peer-deps
  1. Finally, run:
npm install -g yarn; yarn build
  1. Now, navigate to BotPoweredACEPreview/labs/NewBotACE/nodejs and run:
npm install
  1. Locate the .env file
  2. Open .env in Visual Studio Code and make the following changes:
  • Set "MicrosoftAppType" to MultiTenant.
  • Set "MicrosoftAppId" to your bot's Microsoft App ID.
  • Set "MicrosoftAppPassword" to your bot's Value of the Client Secret ID.
  • Leave "MicrosoftAppTenantId" blank for MultiTenant bot.
  • Set "BaseUrl" to your ngrok domain.

    env
  1. Locate the manifest.json file in BotPoweredACEPreview/labs/NewBotACE/nodejs/appPackage.
  2. Open manifest.json in the latest version of Visual Studio Code and make the following changes:
  • Replace all occurrences of <<Microsoft-App-ID>> with your bot's Microsoft App ID.
  • Replace the <<validDomain>> with your ngrok domain.

Important

We're currently working on the changes for the dashboardCards schema that will break existing Bot ACEs. When the changes are rolled out, we will update the documentation and hands-on labs with the new manifest.json file.

manifest1 manifest2

Clone this wiki locally