From 1093bdedda459bf9153d5db54a132da49c07fe5a Mon Sep 17 00:00:00 2001 From: Ori Harel Date: Sat, 2 Aug 2025 12:38:41 +0300 Subject: [PATCH] Update ServiceNow credentials doc to reflect changes on PR 17926 --- docs/integrations/builtin/credentials/servicenow.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/integrations/builtin/credentials/servicenow.md b/docs/integrations/builtin/credentials/servicenow.md index 8b6a43c453f..84631be3476 100644 --- a/docs/integrations/builtin/credentials/servicenow.md +++ b/docs/integrations/builtin/credentials/servicenow.md @@ -30,7 +30,9 @@ To configure this credential, you'll need: - A **User** name: Enter your ServiceNow username. - A **Password**: Enter your ServiceNow password. -- A **Subdomain**: The subdomain for your servicenow instance is in your instance URL: `https://.service-now.com/`. For example, if the full URL is `https://dev99890.service-now.com`, then the subdomain is `dev99890`. +- Either + - A **Subdomain**: The subdomain for your servicenow instance is in your instance URL: `https://.service-now.com/`. For example, if the full URL is `https://dev99890.service-now.com`, then the subdomain is `dev99890`. + - A **Custom host** – For self-hosted or vanity domains, enter the full base URL (e.g. `https://sn.acme.local`, without a trailing slash). ## Using OAuth2 @@ -38,7 +40,9 @@ To configure this credential, you'll need: - A **Client ID**: Generated once you register a new app. - A **Client Secret**: Generated once you register a new app. -- A **Subdomain**: The subdomain for your servicenow instance is in your instance URL: `https://.service-now.com/`. For example, if the full URL is `https://dev99890.service-now.com`, then the subdomain is `dev99890`. +- Either + - A **Subdomain**: The subdomain for your servicenow instance is in your instance URL: `https://.service-now.com/`. For example, if the full URL is `https://dev99890.service-now.com`, then the subdomain is `dev99890`. + - A **Custom host** – For self-hosted or vanity domains, enter the full base URL (e.g. `https://sn.acme.local`, without a trailing slash). To generate your **Client ID** and **Client Secret**, register a new app in **System OAuth > Application Registry > New > Create an OAuth API endpoint for external clients**. Use these settings for your app: