Skip to content

NocoDB 凭据#

¥NocoDB credentials

你可以使用以下凭据验证以下节点:

¥You can use these credentials to authenticate the following nodes:

支持的身份验证方法#

¥Supported authentication methods

  • API 令牌(推荐)

¥API token (recommended)

  • 用户身份验证令牌

¥User auth token

User auth token deprecation

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

相关资源#

¥Related resources

有关服务的更多信息,请参阅 NocoDB API 文档

¥Refer to NocoDB's API documentation for more information about the service.

使用 API 令牌#

¥Using API token

要配置此凭据,你需要一个 NocoDB 实例以及:

¥To configure this credential, you'll need a NocoDB instance and:

  • API 令牌

¥An API Token

  • 你的数据库主机

¥Your database Host

生成 API 令牌:

¥To generate an API token:

  1. 登录 NocoDB 并选择左下角侧边栏中的“用户”菜单。

¥Log into NocoDB and select the User menu in the bottom left sidebar. 2. 选择账户设置。

¥Select Account Settings. 3. 打开“令牌”选项卡。

¥Open the Tokens tab. 4. 选择“添加新 API 令牌”。

¥Select Add new API token. 5. 请输入令牌名称,例如 n8n integration

¥Enter a Name for your token, like n8n integration. 6. 选择“保存”。

¥Select Save. 7. 复制 API URL 并将其输入到你的 n8n 凭据中。

¥Copy the API Token and enter it in your n8n credential. 8. 输入 n8n 凭据中 NocoDB 实例的主机名,例如 http://localhost:8080

¥Enter the Host of your NocoDB instance in your n8n credential, for example http://localhost:8080.

请参阅 NocoDB API 令牌文档 以获取更详细的说明。

¥Refer to the NocoDB API Tokens documentation for more detailed instructions.

使用用户身份验证令牌#

¥Using user auth token

在 NocoDB 弃用之前,用户身份验证令牌是一个临时令牌,旨在用于快速测试 API,其有效期为会话期间,直至用户注销或 10 小时。

¥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.

User auth token deprecation

NocoDB 在 v0.205.1 版本中弃用了用户身份验证令牌。改用 API 令牌

¥NocoDB deprecated user auth tokens in v0.205.1. Use API tokens instead.

要配置此凭据,你需要一个 NocoDB 实例以及:

¥To configure this credential, you'll need a NocoDB instance and:

  • 用户令牌

¥A User Token

  • 你的数据库主机

¥Your database Host

生成用户身份验证令牌:

¥To generate a user auth token:

  1. 登录 NocoDB 并选择左下角侧边栏中的“用户”菜单。

¥Log into NocoDB and select the User menu in the bottom left sidebar. 2. 选择“复制授权令牌”。

¥Select Copy Auth token. 3. 在 n8n 中将该身份验证令牌作为用户令牌输入。

¥Enter that auth token as the User Token in n8n. 4. 输入 NocoDB 实例的主机名,例如 http://localhost:8080

¥Enter the Host of your NocoDB instance, for example http://localhost:8080.

请参阅 NocoDB 身份验证令牌文档 以获取更多信息。

¥Refer to the NocoDB Auth Tokens documentation for more information.