Overview
Friday can query event data, manage feature flags, and retrieve analytics dashboards from PostHog. To enable these capabilities you must connect the PostHog integration to your account by providing a Personal API key. After setup, Friday will use the PostHog integration automatically whenever a task requires it.Prerequisites
- A PostHog account with access to the projects you want Friday to interact with.
- A PostHog Personal API key. You can create one in PostHog under Settings → Personal API Keys.
Step-by-step guide
Friday will automatically detect when you need to connect to PostHog as part of your regular use.Start with a real PostHog request
Tell Friday what you want to do with PostHog. This gives Friday the context it needs to request access and complete the setup.Example prompts:
- “Show me the top events from PostHog in the last 7 days.”
- “List all active feature flags in my PostHog project.”
- “Every Monday at 9am, summarize last week’s PostHog analytics and post them to Slack #product.”
Connect your PostHog API key
If you haven’t connected PostHog previously, Friday will prompt you to add your Personal API key.
- Click Connect PostHog.
- Enter your Personal API key.
- Friday validates the key and stores it securely.
Continue your task
After authentication, the task you set up in Step 1 will continue automatically, and Friday will now be able to interact with your PostHog projects.
Security and permissions
- Your PostHog API key is stored securely and encrypted; the raw key is never exposed after setup.
- The key inherits the permissions of your PostHog user account. Friday can access any project and data that your account can access.
- Deleting or rotating your Personal API key in PostHog automatically disables the connection; you’ll need to reconnect with a new key.
Revoking access
Note: By revoking access, any current and future Spaces set up with Friday will no longer be able to use PostHog until you reconnect. To remove the PostHog API key from Friday:- In Friday, go to Settings → Integrations.
- Find the PostHog integration and click Remove.
- In PostHog, go to Settings → Personal API Keys.
- Find the key you used with Friday.
- Click Delete to remove it.

