ITSM & PSA
OAuth 2.0 (client ID/secret)
To connect ServiceNow to Dex, you need to set up an OAuth Application Registry entry in your ServiceNow instance to generate a Client ID and Client Secret.
Steps
- Log in to your ServiceNow instance as an administrator.
- In the Application Navigator, search for and open System OAuth > Application Registry.
- Click New to create a new registry entry.
- When prompted with "What kind of OAuth application?", select Create an OAuth API endpoint for external clients.
- Fill in the details: Name: Dex App Integration (or similar); Token Lifespan: a reasonable value (e.g., 1800–3600 seconds; Dex handles token refreshing natively); Refresh Token Lifespan: a generous value (e.g., 8,640,000 seconds) or matching your security policies. Click Submit or Save.
- Re-open the newly created record: the Client ID is generated automatically, and you can click the lock icon to view and copy the Client Secret.
- Note your ServiceNow Instance URL (e.g., https://dev12345.service-now.com).
Paste into Dex
The connection form in the Dex app store asks for these values:
- Client ID
- Client Secret: Click the lock icon on the record to view and copy it.
- Instance URL: e.g. https://dev12345.service-now.com
- Company sys_id: Optional (MSP): 32-char hex string from the core_company table to scope operations.
Links on page: Open ServiceNow console, Official docs.