ServiceNow Authentication Guide

How to authenticate ServiceNow for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated this week

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

Create a ServiceNow credential in Tines,

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Credential"

  3. Click "+ New Credential" and select "OAuth 2.0"

  4. Copy the "Callback URL"

Next, create a ServiceNow OAuth App

  1. Login to your ServiceNow account.

  2. Search for "oauth" and click "Application Registry"


  3. Click "New"


  4. Click "Create an OAuth API endpoint for external clients"


  5. Name the app, paste the "Callback URL" into the "Redirect URL" field and click "Submit"


  6. Copy the "Client ID" and "Client Secret" to a text editor

Lastly, continue creating the ServiceNow credential in Tines

  1. Input the values for the ServiceNow credential

    1. Name: ServiceNow

    2. Description: Optional

    3. Client ID: "Client ID" copied earlier

    4. Client secret: "Client Secret" copied earlier

    5. Scope: Leave blank

    6. OAuth Provider: Manual

    7. Grant type: Authorization code

    8. OAuth authorization request URL:https://<instance-name>.service-now.com/oauth_auth.do

    9. PKCE challenge method: None

    10. OAuth token URL: https://<instance-name>.service-now.com/oauth_token.do

  2. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains

    2. Access: What other teams can also use the API

  3. Click "Save"

  4. You will be redirected to a ServiceNow authorization page, review the message and click "Allow"


Basic Authentication

You will need your ServiceNow username and password.

Create a ServiceNow resource and credential in Tines

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Resource"

  3. Click "+ New Resource"

  4. Input the values for the ServiceNow resource

    1. Name: ServiceNow

    2. Description: Optional

    3. Builder: Your ServiceNow username

  5. Optional

    1. Access: What other teams can also use the resource

  6. Click "Save resource"

  7. Navigate to the team that will be using the API and click "Credentials"

  8. Click "+ New Credential" and select "Text"

  9. Input the values for the ServiceNow credential

    1. Name: ServiceNow

    2. Description: Optional

    3. Value: Your ServiceNow password

  10. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  11. Click "Save"

For more on creating credentials in Tines, click here.

You can find a selection of ServiceNow stories in the story library

Did this answer your question?