Overview
To authenticate with ServiceNow using Client Credentials, you need:- Subdomain - Your ServiceNow instance subdomain (e.g.,
dev12345fordev12345.service-now.com). - Client ID - The unique identifier for your OAuth application.
- Client Secret - A confidential key used to authenticate the application.
Prerequisites:
- You must have a ServiceNow instance (Washington DC release or later)
- You must have admin access to configure OAuth settings
Instructions:
Step 1: Enable Client Credentials Grant Type
Client Credentials must be enabled at the instance level:- In ServiceNow, navigate to sys_properties.list (this won’t appear under the “All” menu - type it in the navigation filter and press Enter to be redirected).

- Search for
glide.oauth.inbound.client.credential.grant_type.enabled.

- If it doesn’t exist, click New and create it:
- Name:
glide.oauth.inbound.client.credential.grant_type.enabled - Type:
true | false - Value:
true
- Name:
- Click Save.
Step 2: Create an OAuth Application User
This is the service account identity that API calls will be made as:- Navigate to User Administration > Users.
- Click New and configure:
- User ID:
nango_integration(or your preferred name) - First name:
Nango - Last name:
Integration - Active: Checked
- Web service access only: Checked (recommended)
- User ID:
- Click Submit.
- Open the newly created user and go to the Roles tab.
- Click Edit and add these roles:
rest_service- Required for REST API accessitil- Required for incident/change request creation
- Click Save.
Step 3: Create an API Authentication Scope
- Navigate to System OAuth > REST API Auth Scope.
- Click New and configure:
- Name:
nango_api_access - Active: Checked
- REST API:
Table APIor whichever API you need to target. - REST API PATH:
now/table - Check: Apply auth scope to all HTTP methods in this API
- Name:
- Click Submit.
Step 4: Create an OAuth Application
- Navigate to System OAuth > Application Registry.
- Click New > Create an OAuth API endpoint for external clients.
- Important: The default form view doesn’t show all required fields. To add them:
- Click on the burger icon next to “Application Registries”

- Select Configure > Form Builder

- Add the OAuth Application User and Default Grant Type fields to the form

- Save the form layout
- Configure the application:
- Name:
Nango Integration - Client ID: Auto-generated (copy this)
- Client Secret: Click the lock icon to reveal, then copy
- Default Grant Type:
Client Credentials - OAuth Application User: Select the user created in Step 2
- Active: Checked
- Name:

- Click Submit.
- Open the application and go to the Auth Scopes related list.
- Click Add and select the scope created in Step 3.
- Click Save.
Step 5: Enter credentials in the Connect UI
Once you have your credentials:- Open the form where you need to authenticate with ServiceNow.
- Enter your Subdomain (e.g.,
dev12345), Client ID, and Client Secret in their designated fields.

- Submit the form, and you should be successfully authenticated.