ServiceNow allows employees to work the way they want to, not how software dictates they have to. And customers can get what they need, when they need it
This guide covers 2 authentication options for ServiceNow:
OAuth
You will need to create an OAuth app in ServiceNow.
Create a ServiceNow credential in Tines
ServiceNow connect flow (recommended):
Login to your Tines tenant
Navigate to the team that will be using the API and click "Credentials"
Click "+ New Credential" and select "ServiceNow" and follow the prompts to connect, selecting 'OAuth'.
Manual credential creation (Client credentials grant)
Login to ServiceNow via https://developer.servicenow.com/ and access your instance (e.g. https://dev123456.service-now.com/)
Enable the Client Credentials grant type
In the Filter Navigator (top left), type: sys_properties.list and hit Return.
Select New.
Complete the following fields:
Name: glide.oauth.inbound.client.credential.grant_type.enabled
Type: true | false
Value: true
Select Submit.
Navigate to Filter Navigator > System OAuth > Inbound Integrations > New integration > OAuth - Client credentials grant.
Create a new application by completing the following fields:
Name: name of application
OAuth application user: select user
Create auth scope->New auth scope and enter scope name
Auth scope: select scope created in c
Limit authorization to the following APIs: select APIs to limit access to
Select Save.
In Tines, add a new OAuth2 credential via Credentials > New > Manual creation > OAuth 2.0 > Create credential
Name: name of credential
Client ID and Client Secret: copy and paste from the application that you just created in ServiceNow
Grant type: Client credentials
OAuth token URL: https://{service_now_instance_name}.service-now.com/oauth_token.do
Restrict direct access: selected
URLs and Domains: https://{service_now_instance_name}.service-now.com/*
Metadata: { "domain": "{service_now_instance_name}.service-now.com" }
Basic Authentication
You will need your ServiceNow username and password.
Create a ServiceNow credential in Tines
ServiceNow connect flow (recommended):
Login to your Tines tenant
Navigate to the team that will be using the API and click "Credentials"
Click "+ New Credential" and select "ServiceNow" and follow the prompts to connect, selecting 'Basic Auth'
Manual credential creation
This method is not recommended as the ServiceNow connect flow creates this credential with much less complexity. However, if you need to create this credential set manually, see the following steps below:
Click "+ New Credential" and select "Text"
Input the values for the ServiceNow credential
Name: Required
Description: Optional
Value: Your password
Domains: yourdomain.service-now.com
Metadata:
{
"domain": "yourdomain.service-now.com",
"username": "yourusername"
}Access: What other teams can also use the API
Read about our connect flows here.
For more on creating credentials in Tines, click here.
You can find a selection of ServiceNow stories in the story library
