1
Create a ServiceNow Developer Account
- Go to the ServiceNow Developer Portal.
- Click Sign up and Start Building to create a new account if you don’t already have one.
- Complete the registration process.
2
Request a Personal Developer Instance (PDI)
- After logging in to the Developer Portal, navigate to Start Building.
- Click Request Instance.
- Select the latest ServiceNow release version.
- Wait for your instance to be provisioned (this usually takes a few minutes).
- Once provisioned, you’ll receive an email with your instance details, including the URL, admin username, and password.
3
Create an OAuth API endpoint for external clients
- Log in to your ServiceNow instance with the admin credentials from your email.
- Navigate to System OAuth > Application Registry.
- Click New, then select Create an OAuth API endpoint for external clients.
- Fill in the following fields:
- Name: A descriptive name for your application.
- Redirect URL:
https://api.nango.dev/oauth/callback.
- Click Submit. ServiceNow auto-generates the Client ID and Client Secret.
4
Configure OAuth scopes
- In the Application Registry, open your newly created application.
- In the Application Scope tab, click Add.
- Search for and select the API scopes your application needs. Common scopes include
admin,user_admin,user,useraccount,web_service_admin,web_service,personalize, anduser_impersonate. - Click Save.
5
Configure OAuth policies
- In your application record, navigate to the OAuth Policies tab.
- Configure the token lifespans as needed (defaults: 30-minute access tokens, 100-day refresh tokens).
- Set Refresh Token Count to “Unlimited” to allow continuous refreshing.
- Click Update.
6
Add your Client ID and Client Secret to Nango
- Copy the Client ID and Client Secret from the Application Registry.
- In Nango, go to Integrations -> ServiceNow and enter them as the integration’s OAuth credentials.
7
Next
Follow the Quickstart to connect your first account.