You can configure OAuth authentication for ServiceNow webhooks to securely send alert notifications from the Command Center. When configured, the system uses OAuth to generate an access token and automatically refreshes it when it expires.
Note
OAuth authentication for webhooks is specific to ServiceNow integrations.
Before You begin
Obtain the following information from your ServiceNow administrator:
-
Client ID
-
Client secret
-
Access token URL
-
Webhook URL
Procedure
-
From the Command Center navigation pane, go to Manage > Integration > Third Party Integration.
-
Click the Webhooks tile.
The Webhooks page appears.
- In the upper-right area of the page, click Add.
The Add webhook page appears.
-
In the Name box, enter a name for the webhook.
-
In the URL box, enter the Webhook URL provided by ServiceNow.
-
Move the Use authentication toggle to the right.
-
Select OAuth Authentication.
-
Add the ServiceNow OAuth credential:
-
Next to the Credential list, click the + (Add) button.
The Add Credentials section appears.
-
From the Account type list, select Cloud Account.
-
From the Vendor type list, select ServiceNow.
-
From the Authentication type list, select OAuth.
-
In the Credential name box, enter a name for the credential.
-
In the Client ID box, enter the Client ID provided by ServiceNow.
-
In the Client secret box, enter the Client secret provided by ServiceNow.
-
Click Save.
-
In the Access token url box, enter the Access token URL provided by ServiceNow.
-
Click Add.
What to Do Next
After adding the webhook, configure alerts to use this webhook for notifications.