--- title: "ServiceNow setup instructions" slug: "dex-servicenow" updated: 2026-11-30T12:32:42Z published: 2026-11-30T12:32:42Z canonical: "documentation.sysaid.com/dex-servicenow" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # ServiceNow setup instructions 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 1. Log in to your ServiceNow instance as an administrator. 2. In the Application Navigator, search for and open System OAuth > Application Registry. 3. Click New to create a new registry entry. 4. When prompted with "What kind of OAuth application?", select Create an OAuth API endpoint for external clients. 5. 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. 6. 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. 7. 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](https://www.servicenow.com/login.html), [Official docs](https://docs.servicenow.com/bundle/washingtondc-platform-security/page/administer/security/task/t_CreateEndpointforExternalClients.html).