Skip to main content
Setting this up requires the admin role in your ServiceNow instance. If a REST API access policy restricts the Table API, add an OAuth authentication profile to that policy. Do not give the service account admin itself; without it, updating or deleting records on the base task table fails, because ServiceNow’s access controls allow that only for admin.

Set up the OAuth client

The client credentials grant is off by default, and every client acts as one ServiceNow user whose roles decide what StackOne can reach.

1

Turn on the client credentials grant

Sign in to your ServiceNow instance with the application scope set to Global.

  • In the navigation filter, enter sys_properties.list.
  • Click New.
  • Name: glide.oauth.inbound.client.credential.grant_type.enabled
  • Type: true | false
  • Value: true
  • Click Submit.
The new System Property form with the Name, Type and Value fields and the Submit button highlighted
2

Create the service account

Open User Administration > Users.

  • Click New.
  • User ID: stackone_integration
  • Identity type: Machine
  • Select Internal Integration User.
  • Click Submit.
The new User form with the User ID, Identity type and Internal Integration User fields and the Submit button highlighted
3

Add the roles

Open the new user’s record.

  • Select the Roles tab.
  • Click Edit….
  • Add itil for incidents, problems, changes, tasks and catalog requests.
  • Add only the roles for the actions you use: itil_admin for deletes, catalog_admin to delete catalog requests, business_rule_admin for webhooks, personalize_dictionary for table schema actions, knowledge_admin for knowledge bases and categories, and user_admin for users, groups and role assignments.
  • Save the role list.
The Roles tab of the user record with the Edit button highlighted
4

Start a new integration

Open Machine Identity Console > Inbound integrations.

  • Click New integration.
  • Select OAuth - Client credentials grant.
The Select your application connection type dialog with OAuth - Client credentials grant highlighted
5

Fill in the details and save

In the Details section, link the integration to the service account.

  • Name: StackOne Integration
  • Provider name: StackOne
  • OAuth application user: the service account
  • Auth scope: useraccount
  • Click Save.
The Details section with the Name, Provider name and OAuth application user fields highlighted
6

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.

  • 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.