Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wmpmills authored Sep 9, 2024
1 parent 7f8347c commit 008c797
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,20 @@ sequenceDiagram
### Installation Steps:

1. Download the ``translation-guest-chat.js`` file and upload it to your Webex Devices Macro editor via the web interface.
2. Configure the macros, there are comments for each field to help with the configuration.
3. Enable the Macro on the editor.
2. Configure the macro, by entering the Client ID/Secret and Refresh Token of your Service App. Also configured the Target Email of the Webex Agent the Web App will automatically contact.
```javascript
const config = {
webapp: 'https://wxsd-sales.github.io/translation-guest-chat-webapp-macro/webapp',
oauth: {
clientId: '<Guest Management Service App Client ID>',
clientSecret: '<Guest Management Service App Client Secret>',
refreshToken: '<Guest Management Service App Refresh Token>'
},
target: '<Email Address Of Target Agent>',
panelId: 'webexchat'
}
```
4. Save and Enable the Macro on the editor.

## Demo

Expand Down

0 comments on commit 008c797

Please sign in to comment.