Skip to main content

ServiceNow Authentication Guide

How to authenticate ServiceNow for use with Tines

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

You will need to create an OAuth app in ServiceNow.

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, selecting 'OAuth'.​

Manual credential creation (Client credentials grant)

  1. Login to ServiceNow via https://developer.servicenow.com/ and access your instance (e.g. https://dev123456.service-now.com/)

  2. Enable the Client Credentials grant type

    1. In the Filter Navigator (top left), type: sys_properties.list and hit Return.

    2. Select New.

    3. Complete the following fields:

      1. Name: glide.oauth.inbound.client.credential.grant_type.enabled

      2. Type: true | false

      3. Value: true

    4. Select Submit.

  3. Navigate to Filter Navigator > System OAuth > Inbound Integrations > New integration > OAuth - Client credentials grant.

  4. Create a new application by completing the following fields:

    1. Name: name of application

    2. OAuth application user: select user

    3. Create auth scope->New auth scope and enter scope name

    4. Auth scope: select scope created in c

    5. Limit authorization to the following APIs: select APIs to limit access to

  5. Select Save.

  6. In Tines, add a new OAuth2 credential via Credentials > New > Manual creation > OAuth 2.0 > Create credential

    1. Name: name of credential

    2. Client ID and Client Secret: copy and paste from the application that you just created in ServiceNow

    3. Grant type: Client credentials

    4. Restrict direct access: selected

    5. 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):

  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, 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:

  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?