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/tutorials/widgets/click-to-call-widget.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,14 @@ Enable your customers to talk with your support agent on Teams through a call in
19
19
20
20
## Architecture overview
21
21
22
-
## Pre-requisites
22
+
## Prerequisites
23
23
- An Azure account with an active subscription. For details, see [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
24
24
-[Visual Studio Code](https://code.visualstudio.com/) on one of the [supported platforms](https://code.visualstudio.com/docs/supporting/requirements#_platforms).
25
25
- An active Communication Services resource and connection string. [Create a Communication Services resource](../quickstarts/create-communication-resource.md).
26
26
27
27
## Set up an Azure Function to provide access tokens
28
28
29
-
Follow instructions from our [trusted user access service tutorial](../trusted-service-tutorial) to deploy your Azure Function for access tokens. This service returns an access token which our widget uses to authenticate to Azure Communication Services and start the call to the Teams user we define.
29
+
Follow instructions from our [trusted user access service tutorial](../trusted-service-tutorial) to deploy your Azure Function for access tokens. This service returns an access token that our widget uses to authenticate to Azure Communication Services and start the call to the Teams user we define.
30
30
31
31
## Set up boilerplate vanilla web application
32
32
@@ -119,7 +119,7 @@ Follow instructions from our [trusted user access service tutorial](../trusted-s
119
119
120
120
```
121
121
122
-
At this point we have set up a static HTML page with a button that opens a call widget when clicked. Next, we add the widget script code. It makes a call to our Azure Function to get the access token and then use it to initialize our call client for Azure Communication Services and start the call to the Teams user we define.
122
+
At this point, we have set up a static HTML page with a button that opens a call widget when clicked. Next, we add the widget script code. It makes a call to our Azure Function to get the access token and then use it to initialize our call client for Azure Communication Services and start the call to the Teams user we define.
123
123
124
124
## Fetch an access token from your Azure Function
125
125
@@ -147,9 +147,9 @@ You need to add the URL of your Azure Function. You can find these values in the
147
147
148
148
```
149
149
150
-
We provide a test script hosted on GitHub for you to use for testing. For production scenarios, we recommend to host the script on your own CDN. For more information on how to build your own bundle, see [this article](https://azure.github.io/communication-ui-library/?path=/docs/use-composite-in-non-react-environment--page#build-your-own-composite-js-bundle-files).
150
+
We provide a test script hosted on GitHub for you to use for testing. For production scenarios, we recommend hosting the script on your own CDN. For more information on how to build your own bundle, see [this article](https://azure.github.io/communication-ui-library/?path=/docs/use-composite-in-non-react-environment--page#build-your-own-composite-js-bundle-files).
151
151
152
-
2. Add the following code under the button event listener:
152
+
1. Add the following code under the button event listener:
0 commit comments