Skip to content

Documentation

Everything you need to run hostpog and get your data in.

Three ways to use it

ModeWhat happens
ConnectQuery your existing PostHog project read-only. No SDK change, nothing copied.
Native@hostpog/js and @hostpog/node send events to your own ClickHouse.
MigrateImport a PostHog batch export, reconcile counts, then cut over.

Concepts

  • Source — where a project's data comes from: a PostHog project, the native SDK, or sample data. Each query uses one source.
  • Query — every chart links to the exact HogQL or ClickHouse SQL behind it.
  • Investigation — ask why a metric moved and get a report with the queries that back it up. Uses your own model key.

Start here