Both of these accounts must be first configured on the [Webex Developers](https://developer.webex.com/my-apps) website.
When creating a person integration, it's important you customize the redirect URL based on your OpenHab installation.
For example if you run your openHAB server on `http://openhab:8080` you should add [http://openhab:8080/connectwebex](http://openhab:8080/connectwebex) to the redirect URIs.
To use a bot account, only configure the `token` (Authentication token).
To use a person integration, configure `clientId` and `clientSecret`.
When the account is configured as a Thing in OpenHab, navigate to the redirect URL (as described above) and authorize your account.
You shouldn't configure both an authentication token (used for bots) AND clientId/clientSecret (used for person integrations). In that case the binding will use the authentication token.
A default room id is required for use with the `sendMessage` action.
### `account` Thing Configuration
| Name | Type | Description | Default | Required | Advanced |
-`var success = botActions.sendMessage(String markdown)` - Send a message to the default room.
-`var success = botActions.sendMessage(String markdown, String attach)` - Send a message to the default room, with attachment.
-`var success = botActions.sendRoomMessage(String roomId, String markdown)` - Send a message to a specific room.
-`var success = botActions.sendRoomMessage(String roomId, String markdown, String attach)` - Send a message to a specific room, with attachment.
-`var success = botActions.sendPersonMessage(String personEmail, String markdown)` - Send a direct message to a person.
-`var success = botActions.sendPersonMessage(String personEmail, String markdown, String attach)` - Send a direct message to a person, with attachment.