mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
35 lines
1.6 KiB
Markdown
35 lines
1.6 KiB
Markdown
# ServiceNow
|
|
|
|
You can use these credentials to authenticate the following nodes with serviceNow.
|
|
- [ServiceNow](/integrations/nodes/n8n-nodes-base.serviceNow/)
|
|
|
|
## Prerequisites
|
|
|
|
Create a [ServiceNow](https://servicenow.com/) account.
|
|
|
|
## Using OAuth
|
|
|
|
From your ServiceNow instance:
|
|
|
|
1. Navigate to ***System OAuth*** > ***Application Registry***.
|
|
2. Click ***New*** button > ***Create an OAuth API endpoint for external clients***.
|
|
|
|

|
|
|
|
3. Complete the following fields:
|
|
* **Name**: Enter a descriptive name for the new endpoint.
|
|
* **Client ID**: Auto populated field, you will need this ID to configure your n8n credentials.
|
|
* **Client Secret**: Enter your desired secret or leave blank to auto generate a random string. You will need this to configure your n8n credentials.
|
|
* **Redirect URL**: Copy the ***OAuth Callback URL*** from the n8n credentials window and enter it here.
|
|
4. Click ***Submit*** to save and create your new endpoint.
|
|
|
|
From n8n:
|
|
|
|
5. Enter a descriptive ***Credentials Name***.
|
|
6. Under ***Credential Data*** complete the following fields:
|
|
* ***Client ID***: Enter the client ID generated above.
|
|
* ***Client Secret***: Enter your client secret created above.
|
|
* ***Subdomain***: Enter the subdomain of your ServiceNow instance. This can be seen in your instance URL: `https://<subdomain>.service-now.com/`.
|
|
7. From the ***OAuth*** section, click the circle button to establish the connection.
|
|
8. Click ***Save*** to finalize your n8n credentials.
|