Skip to content

NocoDB 凭据(NocoDB credentials)#

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

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

支持的身份验证方法(Supported authentication methods)#

  • API 令牌(推荐)
  • 用户身份验证令牌

    用户认证令牌弃用

    NocoDB 在 v0.205.1 中弃用了用户认证令牌。请改用 API 令牌

有关该服务的更多信息,请参阅 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 令牌
  • 您的数据库 主机

生成 API 令牌:

🌐 To generate an API token:

  1. 登录 NocoDB,并在左下角侧边栏选择 用户菜单
  2. 选择 账户设置
  3. 打开 令牌 标签。
  4. 选择 添加新的 API 令牌
  5. 为你的令牌输入一个名称,例如 n8n integration
  6. 选择 保存
  7. 复制 API 令牌 并将其输入到你的 n8n 凭证中。
  8. 在你的 n8n 凭证中输入你的 NocoDB 实例的 主机,例如 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.

用户认证令牌弃用

NocoDB 在 v0.205.1 中弃用了用户认证令牌。请改用 API 令牌

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

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

  • 用户令牌
  • 您的数据库 主机

生成用户身份验证令牌:

🌐 To generate a user auth token:

  1. 登录 NocoDB,并在左下角侧边栏选择 用户菜单
  2. 选择 复制授权令牌
  3. 在 n8n 中将该认证令牌输入为 用户令牌
  4. 输入你 NocoDB 实例的主机,例如 http://localhost:8080

有关更多信息,请参阅 NocoDB 认证令牌文档

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