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
- Go to your PostHog account (e.g. https://app.posthog.com).
- 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
- Navigate to the specific project in PostHog.
- Look at the URL in your browser:
https://app.posthog.com/project/abcd1234
- Copy the part after
/project/
→ Example:123564
3️⃣ Create a Personal API Key
- In PostHog, go to Settings → Personal API Keys.
- Click "Create API Key".
- Name it something like
Autoplay Integration Key
.
- Press Project, and link the correct project.
- Under permissions, make sure the key has:
- Read access to Project
- Read access to Query
- Read access to Session Recordings
- Click Create and copy the generated key.
This key will only be shown once—save it securely.
✅ Final Step: Connect the Integration
- Enter the following into the integration setup:
- Host URL
- Project ID
- Personal API Key
- Click "Connect".
- 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
- Please go through posthog session replay documentation https://posthog.com/session-replay
- There are a number of configurations that you can apply
Final Step: Connect the Integration
- Please see: If you have an existing PostHog account