Prerequisites
ServiceNow developer instance
Admin access to ServiceNow
Step 1: Verify Required Plugins
Ensure the needed plugins are installed in your ServiceNow instance:
To check installed plugins:
Navigate to All > System Applications > All Available Applications > All
Use the search function to locate each plugin:
REST API Auth Scope (Plugin id: com.glide.rest.auth.scope)
REST API Access Policy (Plugin id: com.glide.rest.policy)
Authentication scope (Plugin id: com.glide.auth.scope)
API Key and HMAC Authentication (Plugin id: com.glide.tokenbased_auth)
Activate (install) all 4 plugins if they are not installed.
If plugins are missing, activate them through the ServiceNow Developer Portal
If you don’t have these menus, then use alternative way for Step 1.
Step 1 (alternative): Activate the Plugins
Sign in to the https://developer.servicenow.com/
On the home page, go to the Instance Management widget and select Manage →Activate plugin.
Next to the plugin listing, select Activate.
If available, you can further select to activate the plugin only or include demo data.
Step 2: Create API User
Create a dedicated user account for API access:
Navigate to All > Organization > Users
Click New to create a user
Set the following:
User ID (e.g., "SO_API")
First name (e.g., "SO_API")
Last name ((e.g., "SO_API"))
Enable "Web services only" checkbox
Enable "Internal integration Users" checkbox
Click save, then find the user in the list, open it again and continue setup:
Step 3: Configure Authentication Profile
Set up the inbound authentication profile:
Go to All → System Web Services → API Access Policies → Inbound Authentication Profiles
Click New
Select Create API Key authentication profiles
Fill in the following details:
Name: "API KEY PROFILE"
Auth Parameter: "x-sn-apikey: Auth Header"
Step 4: Create REST API Access Policy
Step 4.1. Configure the access policy:
Navigate to All → System Web Services → REST API Access Policies
Click New
Configure these settings:Name: "API KEY Access Policy"
Active: Yes
REST API: "Table API"
Apply to all methods: Yes
Apply to all resources: Yes
Apply to all versions: Yes
Authentication profile: profile you created on step 3
Step 4.2. Configure SO_API_Meta policy:
Navigate to All → System Web Services → REST API Access Policies
Click New
Configure these settings:
Step 5: Generate API Key
Create and retrieve your API key:
Go to All → System Web Services → API Access Policies → REST API Key
Click New
Configure:
Name: "SO API KEY"
Active: Yes
User: Select your API user (use search)
Save the record and copy the generated token:
Final Steps
After completing these steps add integration on SO side:
Settings - Integrations - add integration - ServiceNow:
URL = ServiceNow developer instance URL
Private Key = API key from step 5.
Important: Keep your API key secure and never share it in public repositories or documentation.