> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/nocodb.md).

# NocoDB credentials

You can use these credentials to authenticate the following nodes:

* [NocoDB](/integrations/builtin/app-nodes/n8n-nodes-base.nocodb.md)

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* API token (recommended)
* User auth token<br>

  <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>User auth token deprecation</strong></p><p>NocoDB deprecated user auth tokens in v0.205.1. Use <a href="#using-api-token">API tokens</a> instead.</p></div>

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [NocoDB's API documentation](https://data-apis-v2.nocodb.com/) for more information about the service.

## Using API token <a href="#using-api-token" id="using-api-token"></a>

To configure this credential, you'll need a [NocoDB](https://www.nocodb.com/) instance and:

* An **API Token**
* Your database **Host**

To generate an API token:

1. Log into NocoDB and select the **User menu** in the bottom left sidebar.
2. Select **Account Settings**.
3. Open the **Tokens** tab.
4. Select **Add new API token**.
5. Enter a **Name** for your token, like `n8n integration`.
6. Select **Save**.
7. Copy the **API Token** and enter it in your n8n credential.
8. Enter the **Host** of your NocoDB instance in your n8n credential, for example `http://localhost:8080`.

Refer to the NocoDB [API Tokens documentation](https://docs.nocodb.com/account-settings/api-tokens/) for more detailed instructions.

## Using user auth token <a href="#using-user-auth-token" id="using-user-auth-token"></a>

Before NocoDB deprecated it, user auth token was a temporary token designed for quick experiments with the API, valid for a session until the user logs out or for 10 hours.

{% hint style="info" %}
**User auth token deprecation**

NocoDB deprecated user auth tokens in v0.205.1. Use [API tokens](#using-api-token) instead.
{% endhint %}

To configure this credential, you'll need a [NocoDB](https://www.nocodb.com/) instance and:

* A **User Token**
* Your database **Host**

To generate a user auth token:

1. Log into NocoDB and select the **User menu** in the bottom left sidebar.
2. Select **Copy Auth token**.
3. Enter that auth token as the **User Token** in n8n.
4. Enter the **Host** of your NocoDB instance, for example `http://localhost:8080`.

Refer to the NocoDB [Auth Tokens documentation](https://docs.nocodb.com/account-settings/api-tokens/#auth-tokens) for more information.
