Context: You are using ServiceNow and Dispel, and would like to utilize the Dispel ServiceNow Integration.
Goal: Create an admin user for Dispel within your instance, generate an OAuth Token for said user, and obtain said OAuth Token.
Prerequisites:
Have an Admin account within your ServiceNow instance
Go to https://<instancename>.service-now.com
Click on “All” in the top left corner
Search “users”
Scroll down to “System Security” → “Users and Groups” → “Users” and click on “Users”
Click “New” in the top right corner
Make sure “password needs reset” is UNCHECKED and “active” is checked
Give your user a User ID and nothing else (Recommended: Give the user the User ID “dispel”), then click “Submit”
This will take you back to the all users page. In the top, search by User ID and search for your new user.
Click on the user.
Click “set password,” then click “generate.”
Save this user ID and password somewhere safe, you will need them later
Click Save Password and close the popup window
At the bottom of the screen, underneath “Related Links,” you will see a table of sorts. Click on the “Roles” tab and then “Edit” button of that table.
Select the following roles, one-by-one, and click on the right-facing arrow to move them from Collections to Roles List. Click save when all 3 roles are in the Roles List.
admin
itil
snc_platform_rest_api_access
Go back to your instance homepage at https://<instance_name>.service-now.com/
Click on “All” in the top left corner
Search for “Application Registry” and select it
Click “New” in the top-right corner
Click “Create an OAuth API endpoint for external clients”
Fill out the fields, give it a name
If you’d like to integrate Dispel with multiple apps, leave “Accessible from” as “All application scopes” — otherwise, select only the desired app
Click Submit
Navigate back to the Application Registry page and select our new OAuth API Endpoint
Leave this page open with the credentials, then send them over to Dispel
Here is what Dispel will need:
<client_id from credentials>
<client_secret from credentials>
Admin username/password combination to authenticate with the instance