Skip to main content
All CollectionsIntegrations
How to Obtain a ServiceNow OAuth Token for Dispel
How to Obtain a ServiceNow OAuth Token for Dispel
William Wolf avatar
Written by William Wolf
Updated this week

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.

  1. Prerequisites:

    1. Have an Admin account within your ServiceNow instance

  2. Go to https://<instancename>.service-now.com

  3. Click on “All” in the top left corner

  4. Search “users”

  5. Scroll down to “System Security” → “Users and Groups” → “Users” and click on “Users”

  6. Click “New” in the top right corner

  7. Make sure “password needs reset” is UNCHECKED and “active” is checked

  8. Give your user a User ID and nothing else (Recommended: Give the user the User ID “dispel”), then click “Submit”

  9. This will take you back to the all users page. In the top, search by User ID and search for your new user.

  10. Click on the user.

  11. Click “set password,” then click “generate.”

  12. Save this user ID and password somewhere safe, you will need them later

  13. Click Save Password and close the popup window

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

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

    1. admin

    2. itil

    3. snc_platform_rest_api_access

  16. Go back to your instance homepage at https://<instance_name>.service-now.com/

  17. Click on “All” in the top left corner

  18. Search for “Application Registry” and select it

  19. Click “New” in the top-right corner

  20. Click “Create an OAuth API endpoint for external clients”

  21. Fill out the fields, give it a name

    1. If you’d like to integrate Dispel with multiple apps, leave “Accessible from” as “All application scopes” — otherwise, select only the desired app

  22. Click Submit

  23. Navigate back to the Application Registry page and select our new OAuth API Endpoint

  24. Leave this page open with the credentials, then send them over to Dispel

  25. Here is what Dispel will need:

    1. <client_id from credentials>

    2. <client_secret from credentials>

    3. Admin username/password combination to authenticate with the instance

Did this answer your question?