Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
md 29 lines 1.24 KB
Rendered Raw
1 ---
2 type: "guide"
3 title: "ServiceNow authentication"
4 description: "Current instance-specific authentication setup for ServiceNow."
5 category: "auth-config"
6 visibility: "public"
7 timestamp: "2026-08-17T00:00:00Z"
8 tags:
9 - "servicenow"
10 ---
11 # ServiceNow authentication
12
13 ## ServiceNow credentials and instance subdomain are collected at different stages
14
15 The current `servicenow` toolkit supports Basic, OAuth2, and S2S OAuth2. OAuth
16 auth-config creation accepts the ServiceNow application's client ID and client
17 secret. Connection initiation then requires the instance subdomain, such as
18 `mycompany` for `mycompany.service-now.com`.
19
20 ServiceNow registers an inbound OAuth client inside a ServiceNow instance. A
21 client registered in one customer instance does not automatically authorize an
22 unrelated instance. Use a separate customer-owned auth config when different
23 customers supply different ServiceNow application registrations.
24
25 Use delegated OAuth2 when a user should sign in and consent. Use S2S OAuth2 for
26 a backend integration whose identity and permissions are configured by the
27 ServiceNow administrator. Fetch the current toolkit metadata before building a
28 form because the required fields are separated into
29 `auth_config_creation` and `connected_account_initiation`.