Skip to content

PostHog 凭据#

¥PostHog credentials

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

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

先决条件#

¥Prerequisites

创建 PostHog 账户或在你的服务器上托管 PostHog。

¥Create a PostHog account or host PostHog on your server.

支持的身份验证方法#

¥Supported authentication methods

  • API 密钥

¥API key

相关资源#

¥Related resources

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

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

使用 API 密钥#

¥Using API key

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • API URL:输入 API 请求的正确域名:

¥The API URL: Enter the correct domain for your API requests:

  • 在美国云上,公共 POST 端点使用 https://us.i.posthog.com,私有端点使用 https://us.posthog.com

    ¥On US Cloud, use https://us.i.posthog.com for public POST-only endpoints or https://us.posthog.com for private endpoints.

  • 在欧盟云上,公共 POST 端点使用 https://eu.i.posthog.com,私有端点使用 https://eu.posthog.com

    ¥On EU Cloud, use https://eu.i.posthog.com for public POST-only endpoints or https://eu.posthog.com for private endpoints.

  • 对于自托管实例,请使用你的自托管域名。

    ¥For self-hosted instances, use your self-hosted domain.

  • 通过检查你的 PostHog 实例 URL 来确认。

    ¥Confirm yours by checking your PostHog instance URL.

  • API 密钥:你使用的 API 密钥取决于你访问的是公共端点还是私有端点:

¥An API Key: The API key you use depends on whether you're accessing public or private endpoints: