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

Create the service account
Open User Administration > Users.
- Click New.
- User ID:
stackone_integration - Identity type: Machine
- Select Internal Integration User.
- Click Submit.

Add the roles
Open the new user’s record.
- Select the Roles tab.
- Click Edit….
- Add
itilfor incidents, problems, changes, tasks and catalog requests. - Add only the roles for the actions you use:
itil_adminfor deletes,catalog_adminto delete catalog requests,business_rule_adminfor webhooks,personalize_dictionaryfor table schema actions,knowledge_adminfor knowledge bases and categories, anduser_adminfor users, groups and role assignments. - Save the role list.

Start a new integration
Open Machine Identity Console > Inbound integrations.
- Click New integration.
- Select OAuth - Client credentials grant.

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.

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.

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 isdev12345
Link the Account
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.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for ServiceNow into StackOne.