OAuth 2.0 for ServiceNow
This section describes the steps to configure Alteryx Analytics Cloud (AAC) to integrate with your ServiceNow deployment using OAuth 2.0 to authenticate.
Create OAuth 2.0 Client for ServiceNow
Sign in to the ServiceNow developer account to create an instance for the OAuth app.
Select Sign In and enter the credentials of your account.
Select Start Building to create an instance.
After your instance is created, select the profile logo > Start Building. A new tab opens.
In the Navigator, select All > System OAuth > Application Registry.
Select New and select Create an OAuth API Endpoint for External Clients.
Select the Active check box, enter a name for the app, and set a Client Secret or leave it blank to generate automatically.
Enter a value in the Redirect URL.
Provide the restriction for the scopes in the Accessible from (field) based on the requirement.
Provide the time for the Access Token and Refresh Token.
Select Submit. Now, you can go to the newly created app.
注意
Note the OAuthClientId, OAuthClientSecret, and CallbackURL values.
Steps to Register the OAuth 2.0 Client
Sign in to AACAAC as a workspace administrator.
Select Register OAuth 2.0 Client.
Enter the following details as follows:
Type:
service_now
Name: Display name of the O Auth 2.0 client in AACAAC.
Client ID: Set this value to the Client ID created above.
Client Secret: Set this value to the Client ID created above.
Authorization URL: Set this value to the following:
https://<instance_name>.service-now.com/oauth_auth.do
.Token URL: Set this value to the following:
https://<instance_name>.service-now.com/oauth_token.do
.Scopes: Provide the required scopes.
Access Token expires in: Set this value to 1800.
Refresh Token expires in: Set this value to 8640000.
Select Create. The OAuth 2.0 client is created.
Create ServiceNow Connection
After you have created the two OAuth 2.0 client references, you can create a connection to your ServiceNow data.
For more information, see ServiceNow Connections.