Skip to content

Vercel AI Gateway 凭证(Vercel AI Gateway credentials)#

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

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

先决条件(Prerequisites)#

创建一个 Vercel 账户。

🌐 Create a Vercel account.

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

  • API 密钥
  • OIDC 令牌

有关该服务的更多信息,请参阅Vercel AI Gateway 文档

🌐 Refer to the Vercel AI Gateway documentation for more information about the service.

使用 API 密钥(Using API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个 API 密钥

生成 API 密钥:

🌐 To generate your API Key:

  1. 登录 Vercel创建账户
  2. 前往 Vercel 仪表板并选择 AI 网关 标签。
  3. 在左侧边栏选择 API 密钥
  4. 选择 添加密钥,然后在对话框中继续选择 创建密钥
  5. 复制你的密钥,并将其作为 API 密钥 添加到 n8n 中。

使用 OIDC 令牌(Using OIDC token)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个 OIDC 令牌

生成 OIDC 令牌:

🌐 To generate your OIDC token:

  1. 在本地开发中,使用 vc link 命令将你的应用链接到 Vercel 项目。
  2. 运行 vercel env pull 命令以从 Vercel 获取环境变量。
  3. 复制你的令牌,并将其作为 OIDC TOKEN 添加到 n8n 中。