Create a connection and credential in Virtual Agent Bot Interconnect
- UpdatedAug 1, 2024
- 2 minutes to read
- Xanadu
- Virtual Agent
Create a connection and credential in Virtual Agent Bot Interconnect
To use ServiceNow® Virtual Agent as a secondary bot with Virtual Agent Bot Interconnect, configure the connection and credential records in the Bot Interconnect (primary) instance.
Before you begin
Role required: admin
Procedure
- Navigate to All > Connections & Credentials > Connection & Credential Aliases.
- Click the Bot Interconnect VA API Integration record to open it.
- In the Connections related list, click New.
-
On the form, fill in the fields.
Field Description Name Enter a unique name, such as SNow Secondary Bot. Credential Leave this blank for now. Connection alias Use the default value. Connection URL Enter the URL for Virtual Agent API on your secondary instance. For example, enter https://secondary-instance-name.service-now.com/api/sn_va_as_service/bot/integration. - Click Submit.
- Navigate to All > Connections & Credentials > Credentials.
- On the Credentials page, click New.
- Click either Bot Interconnect Hash Token Credential or Bot Interconnect Static Token Credential as the type.
-
On the form, fill in the fields.
Field Description Name Enter a unique name for the credential. For example, SNowSecondaryBotToken. Static token Header Enter Token. Static Token Enter a password. Hash token Header Enter x-b2b-signature. Algorithm Select HmacSHA1. Hash Secret Enter the hash secret. Authorization Algorithm Select the algorithm to use. For example, Secondary Bot Hash Token Auth. - Click Submit.
- Navigate to All > Connections & Credentials > Connection & Credential Aliases.
- Click the Bot Interconnect VA API Integration record to open it.
- In the Connections related list, open the new connection record you created in an earlier step.
-
In the Credential field, enter the name of the record that contains the static token or hash token.
For example, SNowSecondaryBotToken.
Figure 1. Connection and credential record in the ServiceNow Bot Interconnect instance - Click Update.