This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Configure the Project to Match Your Environment (NodeJs)
Alex Terentiev edited this page Sep 22, 2023
·
14 revisions
- Ensure node version is v16.19.0
- Navigate to BotPoweredACEPreview/BotBuilderNodeJs and run:
npm install --legacy-peer-deps
- Finally, run:
npm install -g yarn; yarn build
- Now, navigate to BotPoweredACEPreview/labs/NewBotACE/nodejs and run:
npm install
- Locate the .env file
- 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.
- Locate the manifest.json file in BotPoweredACEPreview/labs/NewBotACE/nodejs/appPackage.
- 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.