Integration
PostHog
Open source product analytics platform
- Category
- Analytics
- Runs in
- The Phloem cloud — nothing to install
Lets you and Hamming query a PostHog project's events and persons in HogQL.
What you need
- The PostHog project ID (in Project Settings)
- A PostHog API key with access to that project
- For a self-hosted instance: its full URL, reachable from Phloem's cloud
Connect
- In the console, open Connectors, choose Add connector, then PostHog.
- Enter a Display Name and Project ID.
- Under Hosting Type, choose PostHog Cloud (US), PostHog Cloud (EU) or Self-hosted. For Self-hosted, enter Self-hosted URL without a trailing slash.
- Choose Test Connection (it checks the API key and project), then Create Connection.
What Hamming can do
- Run HogQL that you or Hamming write over PostHog's
eventsandpersonstables, e.g.SELECT event, count() FROM events GROUP BY event
Phloem only reads from PostHog.
#Connection fields
What the Add connector form asks for.
| Field | Type | Required |
|---|---|---|
| Project ID PostHog Project ID (found in Project Settings) 12345 | Text | Yes |
| Hosting Type Where your PostHog instance is hosted | One of PostHog Cloud (US) · PostHog Cloud (EU) · Self-hosted | — |
| Self-hosted URL Full URL to your PostHog instance (without trailing slash) https://posthog.yourcompany.com | Text | — |
Updated