Skip to main content
ServiceNow Authentication Guide

How to authenticate ServiceNow for use with Tines

Updated over a week ago

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 credential in Tines

ServiceNow connect flow (recommended):

  1. Login to your Tines tenant

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

  3. Click "+ New Credential" and select "ServiceNow" and follow the prompts to connect.

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:

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

  2. Input the values for the ServiceNow credential

    1. Name: Required

    2. Description: Optional

    3. Value: Your password

    4. Domains: yourdomain.service-now.com

    5. Metadata:

      {
      "domain": "yourdomain.service-now.com",
      "username": "yourusername"
      }
    6. 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

Did this answer your question?