> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/n/n8n-cloud.md).

# n8n Cloud

n8n is a workflow automation platform. OctoXLabs reads the users of your n8n Cloud instance through the n8n public API.

## Use cases

* List the n8n Cloud users.

```
Adapters = n8n-cloud
```

## Before you begin

### Network

| Source              | Destination                | Port | Protocol |
| ------------------- | -------------------------- | ---- | -------- |
| OctoXLabs connector | `<instance>.app.n8n.cloud` | 443  | HTTPS    |

### Required permissions

| Scope or role | Permission | Needed for              |
| ------------- | ---------- | ----------------------- |
| n8n API key   | Read       | Users (`/api/v1/users`) |

The n8n public API users endpoint can be limited by the role of the key owner or by the plan. Not verified from the sources.

## Create credentials in n8n Cloud

{% stepper %}
{% step %}

### Open the API settings

Log in to your n8n instance or dashboard and open the Settings menu in the bottom-left corner.
{% endstep %}

{% step %}

### Create an API key

Select the n8n API tab and select Create API Key.
{% endstep %}

{% step %}

### Name the key

Provide a name for the key and finish the creation. Save the key in a secure place.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                   | Required | Type    | Default | Description                                                                       |
| --------------------------- | -------- | ------- | ------- | --------------------------------------------------------------------------------- |
| Instance (`instance`)       | Yes      | String  |         | Subdomain part of your workspace URL. For `yourname.n8n.cloud`, enter `yourname`. |
| N8N API Key (`n8n_api_key`) | Yes      | String  |         | n8n API key.                                                                      |
| Per Page (`per_page`)       | No       | Integer | 250     | Records per request.                                                              |
| Timeout (`timeout`)         | No       | Integer | 30      | Seconds to wait for API responses.                                                |
| Proxy (`proxy`)             | No       | String  |         | Proxy host and port, sent as an `http://` proxy URL.                              |

## Troubleshooting

| Error message                                                      | Cause                                             | Fix                                                                   |
| ------------------------------------------------------------------ | ------------------------------------------------- | --------------------------------------------------------------------- |
| Unknown error, Please contact the development team for assistance. | The API returned a status other than 200 and 401. | Check the instance name and API key. Contact support if it continues. |

## Change history
