Skip to main content

Connect PostHog as a data source in June

Updated over 2 weeks ago

You can easily send your PostHog data to June to power company-level analytics and customer insights. This guide will walk you through the process of connecting PostHog as a data source.

Use PostHog as a data source

What you’ll need

  • Admin access to both June and PostHog.

  • June Write API Key (you’ll generate this in June).

Step 1: Generate a June Write API Key

  1. In June, navigate to Settings > Data sources > PostHog

  2. Click Create new key to generate a Write API Key

Keep this key handy, you’ll need it for the PostHog configuration.

Step 2: Set Up June as a Destination in PostHog

  1. In PostHog, go to Data pipelines from the sidebar.

  2. Select the Destinations tab.

  3. Click New destination, search for June, and select it.

  4. Paste the June Write API Key you generated earlier.

  5. Configure trait mapping or choose to send all properties as needed.

For more details, you can refer to PostHog’s official guide.

Step 3: Verify Data Flow

  • After setup, PostHog events will start flowing into June automatically.

  • You can check incoming data under Data sources > PostHog in June.

Troubleshooting

If data doesn’t appear:

  • Double check the API key

  • Make sure PostHog events are sent to the right workspace

That’s it! You’ve successfully connected PostHog to June and can now leverage your product usage data to track customer health and behavior at the company level.

Did this answer your question?