> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/human-access/connections-and-integrations/integration-guides/n8n.md). Agents can also search and read this documentation through its [MCP server](https://www.cakewalk.security/docs/~gitbook/mcp).

# n8n

Set up n8n auto-provisioning with an admin account and access sync with an API key, including your account name and instance URL.

### :sparkles: Auto Provisioning

| **Authentication method** | Username & password                                                    |
| ------------------------- | ---------------------------------------------------------------------- |
| **Required permissions**  | `Admin`                                                                |
| **Required metadata**     | `Account name`. See details [here](#where-can-i-find-my-account-name). |
| **MFA**                   | Supported. See details [here](#how-to-enable-mfa).                     |

<details>

<summary><strong>Where can I find my <code>Account name</code>?</strong></summary>

Navigate to the admin dashboard of your n8n account and copy the account name presented.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/b53adfc1-83d6-43f7-81e1-d40c40cdcb94/ascreenshot.jpeg?tl_px=0,0\&br_px=1376,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=271,212)

</details>

<details>

<summary><strong>How to enable MFA</strong></summary>

1. Navigate to your n8n account and click `…` next to your user name.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/e8e73778-b548-490b-b7f4-d2ec683bd1f7/ascreenshot.jpeg?tl_px=0,96\&br_px=1376,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=111,562)

2. Click `Settings`.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/b112feb8-8851-41e4-b12d-8f611ebbe3d8/ascreenshot.jpeg?tl_px=0,96\&br_px=1376,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=143,504)

3. Click `Enable 2FA`.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/b37e2042-ca81-4744-816d-3cba87fde248/ascreenshot.jpeg?tl_px=0,96\&br_px=1376,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=203,423)

4. Copy the `MFA Secret` by clicking on `this text code` above the QR code.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/c6d3cdf5-6d96-40e9-9c5c-440f435ac5d7/ascreenshot.jpeg?tl_px=103,0\&br_px=1480,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,135)

5. Navigate back to Cakewalk and paste the `MFA Secret` into the corresponding field.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/9a956f7a-8ec7-4d56-afe9-93f7a9e28dad/ascreenshot.jpeg?tl_px=136,96\&br_px=1512,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=865,288)

6. Copy the `One-Time Password`.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/79b8f36f-9277-4d4a-b438-6c363a55b052/ascreenshot.jpeg?tl_px=136,96\&br_px=1512,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=1027,372)

7. Navigate back to n8n and paste the `One-Time Password` into the corresponding field.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/2e234c87-f024-4e4a-9ce2-168ed4c71f29/ascreenshot.jpeg?tl_px=0,96\&br_px=1376,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=490,277)

8. Click `Download recovery codes`.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/900bdaa6-6be5-4af1-a0bb-9ad2e3cbee2e/ascreenshot.jpeg?tl_px=136,96\&br_px=1512,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=567,383)

9. Click `I have downloaded my recovery codes` to complete the setup.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-09-17/4126617b-275e-442f-a475-c884225fcd27/ascreenshot.jpeg?tl_px=136,96\&br_px=1512,866\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=0.7\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.us-west-1.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=533,440)

</details>

***

### :arrows\_counterclockwise: Access Sync

Access Sync for n8n allows you to automatically synchronize user data with Cakewalk, including permission levels.

| **Authentication method**  | API key                                                                |
| -------------------------- | ---------------------------------------------------------------------- |
| **Synced user attributes** | Email, Name and Permissions                                            |
| **Non-human identities**   | Supported. Credentials                                                 |
| **Required scopes**        | `user:list`, `user:read`, `credential:list`, `credential:read`         |
| **Required metadata**      | `Instance URL`. See details [here](#where-can-i-find-my-instance-url). |

<details>

<summary><strong>Where can I find my <code>Instance URL</code>?</strong></summary>

Your Instance URL is the address you use to reach n8n, for example `https://your-instance.app.n8n.cloud`.

Remove the trailing `/` if there is one. Use `https://your-instance.app.n8n.cloud`, not `https://your-instance.app.n8n.cloud/`.

</details>

<details>

<summary><strong>How can I create an n8n API key?</strong></summary>

1. Sign in to n8n.
2. Go to **Settings** > **n8n API**.
3. Select **Create an API key**.
4. Enter a label and set an expiration time. n8n requires an expiration, so note the date and rotate the key before it lapses or the sync stops.
5. On the Enterprise plan, choose the scopes listed above. On other plans there is no scope selector and the key carries full API access.
6. Copy the key.
7. Navigate back to Cakewalk and paste it into the `X-N8N-API-KEY` field.

</details>

#### Quick Setup

1. Navigate to **App Governance** → **n8n** → **Users table** → **Sync Users**
2. Enter your n8n Instance URL and API key
3. Users will sync automatically

#### Learn more

* [n8n: API authentication](https://docs.n8n.io/api/authentication/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.cakewalk.security/docs/human-access/connections-and-integrations/integration-guides/n8n.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
