Create a Project & Connect Your Sessions

2 min read

Step 1: Access the Installation Page

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

You’ll need 3 values (grabbed in Steps 2 & 3):

  • 🔑 Personal API Key
  • 🌐 Host URL
  • 🆔 Project ID

Step 2: Create Your Personal API Key

To connect PostHog ↔ Autoplay you need 3 values:

Required:

  • 🔑 Personal API Key
  • 🌐 Host URL
  • 🆔 Project ID

1️⃣ Get Your Host URL

  1. Open your PostHog account (e.g. app.posthog.com)
  1. Copy everything up to & including .com → e.g. https://app.posthog.com

💡 Same value across all projects on this instance.


2️⃣ Find Your Project ID

  1. Open your project in PostHog
  1. Check the browser URL → https://app.posthog.com/project/abcd1234
  1. Copy the part after /project/ → e.g. 123564

3️⃣ Create a Personal API Key

  1. PostHog → SettingsPersonal API Keys
  1. Click “Create API Key”
  1. Name it e.g. Autoplay Integration Key
  1. Press Project → link the correct project
  1. Permissions — read access to:
    • Project
    • Query
    • Session Recordings
    • Person
    • Cohort
  1. Click Createcopy the key

⚠️ Shown once only — save it securely.


Step 3: Get your Host Url

Host URL = base of your PostHog link, up to & including posthog.com.

💡 Example: https://us.posthog.com/project/118223/settings/user-api-keys

Host URL → https://us.posthog.com

Step 4: Get your Project ID

Project ID = the number right after /project/.

💡 Example: https://us.posthog.com/project/118223/settings/user-api-keys

Project ID → 118223

✅ Final Step: Connect the Integration

  1. Enter:
    • Host URL
    • Project ID
    • Personal API Key
  1. Click “Connect”
  1. You should see → ✅ Success
💡
Autoplay is powered by PostHog — best-in-class real-time infra for your copilots. Why we started with PostHog →

Was this page helpful?