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 17 lines 1008 Bytes
Rendered Raw
1 ## ServiceNow credentials and instance subdomain are collected at different stages
2
3 The current `servicenow` toolkit supports Basic, OAuth2, and S2S OAuth2. OAuth
4 auth-config creation accepts the ServiceNow application's client ID and client
5 secret. Connection initiation then requires the instance subdomain, such as
6 `mycompany` for `mycompany.service-now.com`.
7
8 ServiceNow registers an inbound OAuth client inside a ServiceNow instance. A
9 client registered in one customer instance does not automatically authorize an
10 unrelated instance. Use a separate customer-owned auth config when different
11 customers supply different ServiceNow application registrations.
12
13 Use delegated OAuth2 when a user should sign in and consent. Use S2S OAuth2 for
14 a backend integration whose identity and permissions are configured by the
15 ServiceNow administrator. Fetch the current toolkit metadata before building a
16 form because the required fields are separated into
17 `auth_config_creation` and `connected_account_initiation`.