Skip to main content
Creating the integration requires the admin, oauth_admin or mi_admin role in your ServiceNow instance. If a REST API access policy restricts the Table API, add an OAuth authentication profile to that policy.

Create the OAuth integration

An OAuth integration in your own ServiceNow instance issues the Client ID and Client Secret.

1

Start a new integration

Sign in to your ServiceNow instance, then open Machine Identity Console > Inbound integrations.

  • Click New integration.
  • Select OAuth - Authorization code grant.
The Select your application connection type dialog with OAuth - Authorization code grant highlighted
2

Fill in the details

In the Details section, enter the integration’s name and redirect URL.

  • Name: StackOne Integration
  • Provider name: StackOne
  • Redirect URLs: the Callback URL from your Connector Profile
  • Leave This is a public client unchecked.
The Details section with the Name, Provider name and Redirect URLs fields highlighted
3

Set the auth scope and save

Enables actions: Assign Role To User, Create Change Request, Create Department, Create Group, Create Incident, Create Knowledge Article, Create Knowledge Base, Create Knowledge Category, Create Location, Create Problem, Create Service Catalog Request, Create Service Catalog Request Item, Create Table, Create Table Field, Create Table Record, Create Task, Create User, Create Webhook, Delete Change Request, Delete Group, Delete Incident, Delete Knowledge Article, Delete Problem, Delete Service Catalog Request, Delete Service Catalog Request Item, Delete Table Record, Delete Task, Delete User, Delete Webhook, Get Change Request, Get Choice List, Get Department, Get Group, Get Incident, Get Knowledge Article, Get Knowledge Base, Get Knowledge Category, Get Location, Get Problem, Get Reference Qualifiers, Get Service Catalog Request, Get Service Catalog Request Item, Get Table Metadata, Get Table Record, Get Table Schema, Get Task, Get User, Get User Role, List Change Requests, List Departments, List Groups, List Incidents, List Knowledge Articles, List Knowledge Bases, List Knowledge Categories, List Locations, List Problems, List Service Catalog Request Items, List Service Catalog Requests, List Table Columns, List Table Records, List Tables, List Tasks, List User Role Assignments, List User Roles, List Users, List Webhooks, Update Change Request, Update Group, Update Incident, Update Knowledge Article, Update Problem, Update Service Catalog Request, Update Service Catalog Request Item, Update Table Record, Update Task, Update User

In the Auth scope section, choose the scope listed in the Auth scope field.

  • Click Save.
The Auth scope section with the useraccount scope selected in the Auth scope field
4

Copy the credentials

Open the saved integration from Inbound integrations. Copy the Client ID and Client secret across.

  • Click the copy icon beside Client secret to copy it.
The saved integration with the Client ID field and the Client secret copy button highlighted

Find your instance name

Your instance name is the first part of your ServiceNow URL. Copy it across.

  • Format: https://{instance}.service-now.com
  • Example: if your URL is https://dev12345.service-now.com, your Instance Name is dev12345
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for ServiceNow into StackOne.