How to Connect your Posthog

Collections organize your articles so people can find them more easily

2 min read

Step 1: Access the Installation Page

Visit the Autoplay installation page: https://app.autoplay.ai/install

Step 2: Connect Your PostHog Account

If you have an existing PostHog account

To integrate PostHog with Autoplay, you’ll need to provide three values:

Required:

  • Personal API Key
  • Host URL
  • Project ID

1️⃣ Get Your Host URL

  1. Go to your PostHog account (e.g. https://app.posthog.com).
  1. The Host URL is everything up to (and including) .com. → Example: https://app.posthog.com

This value stays the same for all projects under the same PostHog instance.


2️⃣ Find Your Project ID

  1. Navigate to the specific project in PostHog.
  1. Look at the URL in your browser:https://app.posthog.com/project/abcd1234
  1. Copy the part after /project/ → Example: 123564

3️⃣ Create a Personal API Key

  1. In PostHog, go to SettingsPersonal API Keys.
  1. Click "Create API Key".
  1. Name it something like Autoplay Integration Key.
  1. Press Project, and link the correct project.
  1. Under permissions, make sure the key has:
    • Read access to Project
    • Read access to Query
    • Read access to Session Recordings
  1. Click Create and copy the generated key.

This key will only be shown once—save it securely.


✅ Final Step: Connect the Integration

  1. Enter the following into the integration setup:
    • Host URL
    • Project ID
    • Personal API Key
  1. Click "Connect".
  1. You should see a message: ✅ Success
If you don't have a PostHog account

1️⃣ Create a posthog account

  • Visit this url https://app.posthog.com

2️⃣ Create a new project

  • Visit this url https://app.posthog.com

3️⃣ Integrate session replays into your product

  • There are a number of configurations that you can apply

Final Step: Connect the Integration

Did this answer your question?