PostHog
Connect one PostHog project so Vidext's agents can read your product analytics, switch to another project, and disconnect.
Connect your own PostHog user and Vidext's agents can read one PostHog project: its events, people, organizations, saved insights, dashboards and error tracking. They only read. They never create, change or delete anything in PostHog. This page covers what the agents read, how to connect, how to switch to another project, and how to disconnect.
For every service Vidext connects to, see Integrations.
Before you start
- PostHog EU Cloud only. Vidext connects to projects on PostHog EU Cloud (
eu.posthog.com). A project on PostHog US Cloud cannot be connected yet. - One project. A connection reads the one project you pick on PostHog's screen. To read another project, switch as described below.
- Your own access. The agents see what your PostHog user can see in that project, nothing more.
Admins and members of your Vidext organization can connect PostHog. The connection is personal: it uses your PostHog user, in this Vidext organization only, and other members cannot use it.
What the agents read
| What | What the agents can do |
|---|---|
| Events | List the events your project records, and read how often one happened each day over the last 30 days. |
| People | Find a person by email, name or ID, and read their properties and latest events. |
| Organizations | If your project groups people into organizations or companies, find one by name and read its properties and recent activity. |
| Insights and dashboards | Find saved insights and dashboards, read an insight's results, and see which insights a dashboard holds. |
| Error tracking | List error tracking issues and read one: its status, when it was first and last seen, how often it happened and how many people it reached. |
| SQL questions | For a question no saved insight answers, write a SQL query, run it on the project and show the query with its results. |
Every answer comes from PostHog at the moment the agents ask. Vidext does not copy or index your PostHog data.
Connect PostHog
- Open Integrations and select the PostHog card under Knowledge sources.
- Check the page. Under Permissions, it lists what the agents can read and says they never change anything in PostHog.
- Select Connect. PostHog's sign-in opens in the same tab.
- Sign in to PostHog EU Cloud if asked. On PostHog's screen, pick the project to share and approve access.
- PostHog sends you back to PostHog's page in Integrations, and the card moves under Connected. The card and the page show the project's name.
You can also connect from the chat. When a request needs PostHog and it is not connected, the agents show the connect card with a PostHog row; see Knowledge sources.
Use it
Ask the agents in the chat, for example: "Which organizations were most active last week?" or "What are the top errors in the last 7 days?"
- Paste a link from
eu.posthog.comto an insight, dashboard, person, organization or error tracking issue in the connected project, and the agents read it. A link to another project reads as not found. - A SQL answer shows the query the agents ran and a link that opens it in PostHog's SQL editor. When a result has more rows than the answer shows, the agents say so.
- Vidext only reads. It never creates, changes or deletes anything in PostHog.
Switch to another project
A connection reads one project at a time. To read a different one:
- Disconnect PostHog as described below.
- Connect it again, and pick the other project on PostHog's screen.
When the connection needs a new sign-in, its page shows Reconnect. Picking a different project on PostHog's screen then switches the connection to it.
Disconnect
- Open Integrations and open the ⋯ menu on the PostHog card under Connected.
- Select Revoke access, then confirm with Revoke.
When you disconnect:
- The agents stop using PostHog right away.
- Vidext deletes the PostHog sign-in it stored and asks PostHog to end it. If PostHog cannot be reached, Vidext still disconnects you.
- Your teammates keep their own connections.
- You can connect again later.
What happens to your data
| Data | After you disconnect |
|---|---|
| PostHog sign-in, stored encrypted | Deleted |
| Connection record: your PostHog email and user ID, and the project's name and ID | Kept, marked as revoked |
| PostHog data | Not kept. Agents read it live. |
Chat messages that show PostHog data stay in the chat, like any other message, until the person who owns the conversation deletes it. Disconnecting does not change them. See what Vidext stores.
What is not available
- Changing PostHog. The agents cannot create, edit or delete events, people, insights, dashboards, feature flags or anything else.
- Session recordings. The agents cannot watch or read session replays.
- PostHog US Cloud. Only projects on PostHog EU Cloud can be connected.
- More than one project. A connection reads one project. Switch projects as described above.
If something goes wrong
- You decline on PostHog's screen. Nothing changes. You can try again any time.
- Your company's PostHog is on US Cloud. It cannot be connected yet.
- The connection needs a new sign-in. If the card says Sign-in expired, open it, select Reconnect and sign in again.