Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChetanSharma-msft authored Jun 29, 2023
1 parent 7d151c5 commit ada8569
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions samples/bot-adaptive-card-actions/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1. Register a new application in the [Azure Active Directory – App Registrations](https://go.microsoft.com/fwlink/?linkid=2083908) portal.
> NOTE: When you create your app registration, you will create an App ID and App password - make sure you keep these for later.
2. Setup for Bot
- Also, register a bot with Azure Bot Service, following the instructions [here](https://docs.microsoft.com/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&tabs=userassigned).
2. Setup for Bot:
- Register a bot with Azure Bot Service, following the instructions [here](https://docs.microsoft.com/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&tabs=userassigned).
- Ensure that you've [enabled the Teams Channel](https://docs.microsoft.com/azure/bot-service/channel-connect-teams?view=azure-bot-service-4.0)
- While registering the bot, use `https://<your_ngrok_url>/api/messages` as the messaging endpoint.

Expand All @@ -61,7 +61,8 @@ Run ngrok - point to port 3978
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
```

- Update the `.env` configuration for the bot to use the `MicrosoftAppId` and `MicrosoftAppPassword`. (Note the MicrosoftAppId is the AppId created in step 1 (Setup AAD app registration in your Azure portal), the MicrosoftAppPassword is referred to as the "client secret" in step 1 (Setup for Bot) and you can always create a new client secret anytime.)
- Update the `.env` configuration for the bot to use the `MicrosoftAppId` and `MicrosoftAppPassword`.
(**Note:** The MicrosoftAppId is the AppId created in step 1 (Setup AAD app registration in your Azure portal), the MicrosoftAppPassword is referred to as the "client secret" in step 1 (Setup for Bot) and you can always create a new client secret anytime.)

- In a terminal, navigate to `samples/bot-adaptive-card-actions/nodejs`

Expand Down

0 comments on commit ada8569

Please sign in to comment.