Bubble 凭证(Bubble credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
API访问
您需要付费计划才能访问 Bubble API。
支持的身份验证方法(Supported authentication methods)#
- API 密钥
相关资源(Related resources)#
有关该服务的更多信息,请参考 Bubble 的 API 文档。
🌐 Refer to Bubble's API documentation for more information about the service.
使用 API 密钥(Using API key)#
要配置此凭据,你需要一个付费的 Bubble 账户,并且:
🌐 To configure this credential, you'll need a paid Bubble account and:
- 一个 API 令牌
- 一个 应用名称
- 您的 域名,如果您使用自定义域名
要进行设置,你需要创建一个应用:
🌐 To set it up, you'll need to create an app:
- 在 Bubble 中转到 应用 页面。
- 选择 创建应用。
- 为你的应用输入一个名称,例如
n8n-integration。 - 选择 开始使用。应用的详细信息将打开。
- 在左侧导航中,选择 设置(齿轮图标)。
- 选择 API 选项卡。
- 在公共 API 端点部分,勾选框以启用数据 API。
- 该页面显示数据 API 根 URL,例如:
https://n8n-integration.bubbleapps.io/version-test/api/1.1/obj。 - 复制 URL 中
https://之后、.bubbleapps.io之前的部分,并在 n8n 中作为 应用名称 输入。在上面的示例中,你应输入n8n-integration。 - 选择 生成新的 API 令牌。
- 输入一个 API 令牌标签,例如
n8n integration。 - 复制私钥并将其作为API 令牌输入到你的 n8n 凭证中。
- 有关生成 API 令牌的更多信息,请参阅 Data API | 身份验证。
- 在 n8n 中,选择最符合你应用的 环境:
- 对于尚未部署的应用,请选择 开发,可通过
https://appname.bubbleapps.io/version-test或https://www.mydomain.com/version-test访问。 - 对于你已经部署的应用,访问地址为
https://appname.bubbleapps.io或https://www.mydomain.com,请选择 实时。
- 对于尚未部署的应用,请选择 开发,可通过
- 在 n8n 中,选择你的 托管方式:
- 如果你还没有设置自定义域名,请选择 Bubble 托管。
- 如果你已经设置了自定义域名,请选择自托管并输入你的自定义域名。
有关更多信息,请参阅 Bubble 的《创建和管理应用》文档(https://manual.bubble.io/help-guides/getting-started/creating-and-managing-apps)。
🌐 Refer to Bubble's Creating and managing apps documentation for more information.