ServiceNow

{/* Generated by scripts/generate-integration-catalog.mjs. Do not edit by hand. */}

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: OAuth 2.0 (authorization code or client credentials); legacy bearer token.
  • Connection: Choose delegated OAuth, application credentials, or a legacy pasted bearer token.

Credentials

Choose one Cloud access mode. Set the variables for that mode in the target project environment; the legacy bearer token is not required for OAuth.

VariableRequired forDescription
SERVICENOW_CLIENT_IDDelegated OAuth onlyOAuth application client ID.
SERVICENOW_CLIENT_SECRETDelegated OAuth onlyOAuth application client secret.
SERVICENOW_INSTANCEDelegated OAuth; legacy bearer unless the API base override supplies the hostInstance host for delegated OAuth or legacy token requests.
SERVICENOW_ACCESS_TOKENLegacy bearer onlyPasted access token; not automatically renewed.
SERVICENOW_API_BASE_URLOptional legacy bearer overrideSupplies the legacy API host/path instead of the instance base.

Client credentials access requires the separate SERVICENOW_SERVICE_ACCOUNT_ variables below.

Cloud access modes

Hosted Cloud tools support both user-delegated OAuth 2.0 authorization code access and application/service access using the OAuth 2.0 client credentials grant. These are separate credential configurations. The local Code runtime has its own supported authentication methods.

For delegated access, set SERVICENOW_CLIENT_ID, SERVICENOW_CLIENT_SECRET and SERVICENOW_INSTANCE. The SERVICENOW_ACCESS_TOKEN credential above is required only for legacy pasted-token access, not for either OAuth grant. Set every application variable below for client credentials access.

Application variableRequired
SERVICENOW_SERVICE_ACCOUNT_CLIENT_IDYes
SERVICENOW_SERVICE_ACCOUNT_CLIENT_SECRETYes
SERVICENOW_SERVICE_ACCOUNT_INSTANCEYes

Configure application access describes provider setup, identity selection, project tool policy and supported-operation restrictions.

Tools

ToolAccessDescription
List Incidents<br /><code className="reference-identifier">servicenow__list_incidents</code>ReadList incidents
Get Incident<br /><code className="reference-identifier">servicenow__get_incident</code>ReadGet incident
Create Incident<br /><code className="reference-identifier">servicenow__create_incident</code>WriteCreate incident
Update Incident<br /><code className="reference-identifier">servicenow__update_incident</code>WriteUpdate incident
List Interactions<br /><code className="reference-identifier">servicenow__list_interactions</code>ReadList interactions
Get Interaction<br /><code className="reference-identifier">servicenow__get_interaction</code>ReadGet interaction
Create Interaction<br /><code className="reference-identifier">servicenow__create_interaction</code>WriteCreate interaction
Update Interaction<br /><code className="reference-identifier">servicenow__update_interaction</code>WriteUpdate interaction
List Requests<br /><code className="reference-identifier">servicenow__list_requests</code>ReadList requests
Get Request<br /><code className="reference-identifier">servicenow__get_request</code>ReadGet request
Create Request<br /><code className="reference-identifier">servicenow__create_request</code>WriteOrder catalog item
List Request Items<br /><code className="reference-identifier">servicenow__list_request_items</code>ReadList request items
Get Request Item<br /><code className="reference-identifier">servicenow__get_request_item</code>ReadGet request item
Create Request Item<br /><code className="reference-identifier">servicenow__create_request_item</code>WriteCreate request item
Search Knowledge Base<br /><code className="reference-identifier">servicenow__search_knowledge</code>ReadSearch knowledge base
Search Users<br /><code className="reference-identifier">servicenow__search_users</code>ReadSearch users

Verify the connection

Call a read tool such as servicenow__list_incidents with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.