PostHog logo
ConnectorPostHog

PostHog integration for Claude and Codex

Connect PostHog once, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use PostHog from Claude

Add the PostHog connection to a Space that runs Claude, then use it from every channel in that Space.

Use PostHog from Codex

Add the PostHog connection to a Space that runs Codex, then use it from every channel in that Space.

Use PostHog from Sidekick

Connect your own OpenClaw to Sidekick while type.com provides the conversations, permissions, connections, skills, and automations.

Analytics & Data

What the PostHog connector can do

As open-source product analytics, PostHog tracks how users behave so teams can improve features and funnels. Through type.com, Claude can manage parts of a PostHog setup: placing specific people into static cohorts, giving teammates access to dashboards, assigning organization and project roles, and registering product intents on a project. Product and data teams coordinate these changes in a shared thread.

One connection, many Spaces

Connect PostHog once, then decide which Spaces can use it in threads, skills, automations, and coding work.

What teams do with PostHog in type.com

Build a cohort by hand

Add a known set of users, such as beta testers, to a static cohort so you can filter insights to just them.

Try asking
Add these 25 beta tester person UUIDs to the PostHog static cohort 'Beta - Reporting v2'.

Share a dashboard with stakeholders

Give a teammate access to a specific dashboard at the right level, so they can view or edit it without broad project rights.

Try asking
Add Ana as an editor on the PostHog 'Activation funnel' dashboard in our main project.

Onboard someone to a project

Assign a new hire the proper project role and organization role in one request from the onboarding thread, so access is right from their first day.

Try asking
Give our new analyst the member role on the PostHog web-app project and add her to the 'Analysts' org role.

Representative actions

  • Add dashboard collaborators with access level

    Gives people access to a project dashboard at a set access level.

  • Add member to organization role

    Places an existing organization member into a defined role to control what they can do.

  • Add persons to static cohort

    Puts specific people into a static cohort using their UUIDs.

  • Add product intent to project

    Records a product intent on a project to note which PostHog products it plans to use.

  • Add project specific member roles

    Assigns members a role on a particular project with a chosen level.

Connection

API and auth details

PostHog's API uses personal API keys, typically as bearer tokens, against a region or self-hosted PostHog base URL for projects, queries, insights, feature flags, persons, cohorts, and events.

FAQ

Questions people ask before connecting PostHog

Can Claude manage PostHog cohorts and access?

Yes. In a type.com Space with PostHog connected, Claude can add people to static cohorts, share dashboards, assign organization and project roles, and add product intents. Each change is visible in the thread.

How do I authenticate PostHog?

PostHog uses a personal API key. An admin adds it once to the type.com connection and shares it with the Spaces that should manage your analytics setup.

Can I make PostHog onboarding repeatable?

Yes. Save the steps as a type.com skill, such as assigning a new teammate's project role and dashboard access, so anyone in the Space can run the same setup.

Is this the same as an MCP server for PostHog?

Not exactly. type.com uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More analytics & data connectors

All Analytics & Data integrations