You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/chat/quickstart-botframework-integration.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,17 +52,20 @@ First, [use the Azure portal to create an Azure Bot Service resource](/azure/bot
52
52
53
53
Next, [get the Microsoft app ID and password](/azure/bot-service/abs-quickstart?tabs=userassigned#to-get-your-app-or-tenant-id) that are assigned to your bot when it's deployed. You use these values for later configurations.
54
54
55
-
### Create a web app to hold the bot logic
55
+
### Create a bot app and publish it to a web app
56
56
57
-
To create a web app for your bot, you can do one of the following:
57
+
To create a bot you can do one of the following:
58
58
59
-
- Revise [Bot Builder samples](https://github.com/Microsoft/BotBuilder-Samples) for your scenario and deploy the bot to a web app.
60
-
- One of the simplest samples is [Echo Bot](https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/02.echo-bot).
59
+
- Revise [Bot Builder samples](https://github.com/Microsoft/BotBuilder-Samples) for your scenario, create a web app, and then deploy your bot sample to it.
61
60
- Use the [Bot Builder SDK](/composer/introduction) to create and publish a bot to a web app.
62
61
62
+
For this quickstart we will use the [Echo Bot](https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/02.echo-bot) sample from the Bot Builder samples.
63
+
64
+
#### Create a web app to hold the bot app
65
+
63
66
Azure Bot Service typically expects the Bot Application Web App Controller to expose an endpoint in the form `/api/messages`. The endpoint handles all messages that are sent to the bot.
64
67
65
-
To create the bot app, either use the Azure CLI to [create an Azure App Service resource](/azure/bot-service/provision-app-service?tabs=singletenant%2Cexistingplan) or create the app in the Azure portal.
68
+
To create the web app, either use the Azure CLI to [create an Azure App Service resource](/azure/bot-service/provision-app-service?tabs=singletenant%2Cexistingplan) or create the app in the Azure portal.
66
69
67
70
To create a bot web app by using the Azure portal:
68
71
@@ -80,7 +83,7 @@ To create a bot web app by using the Azure portal:
80
83
81
84
:::image type="content" source="./media/web-app-endpoint.png" alt-text="Screenshot that shows how to copy the web app endpoint URL.":::
82
85
83
-
### Create a messaging endpoint for the bot
86
+
####Create a messaging endpoint for the bot
84
87
85
88
Next, in the bot resource, create a web app messaging endpoint:
86
89
@@ -92,9 +95,9 @@ Next, in the bot resource, create a web app messaging endpoint:
92
95
93
96
:::image type="content" source="./media/smaller-bot-configure-with-endpoint.png" alt-text="Screenshot that shows how to create a bot messaging endpoint by using the web app hostname." lightbox="./media/bot-configure-with-endpoint.png":::
94
97
95
-
### Deploy the web app
98
+
####Deploy the web app
96
99
97
-
The final step to create a bot is to deploy the web app. For this quickstart, use the Echo Bot sample. The Echo Bot functionality is limited to echoing the user input. Here's how you deploy it to your web app in Azure:
100
+
The final step to create a bot is to deploy the web app. For this quickstart, use the [Echo Bot](https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/02.echo-bot) sample. The Echo Bot functionality is limited to echoing the user input. Here's how you deploy it to your web app in Azure:
0 commit comments