
kapa.ai
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect kapa.ai to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Create an API key in kapa.ai under Configuration > API Keys. Find your project ID under Settings > Projects.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Project ID | text | Yes |
Linking kapa.ai to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select kapa.ai
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
threads | Conversations with nested question-answer pairs, feedback, tags, end user, and integration data. | Full refresh | — | — |
end_users | People who interact with the project's assistant. | Full refresh | — | — |
sources | Knowledge sources connected to the project. | Full refresh | — | — |
source_groups | Groups of knowledge sources, including nested groups. | Full refresh | — | — |
integrations | Deployment integrations configured for the project. | Full refresh | — | — |
activity | Project activity snapshot with aggregate and per-integration query, feedback, user, and deflection statistics. | Full refresh | — | — |
top_question_periods | Completed weekly, monthly, or quarterly periods used to group frequently asked questions. | Full refresh | — | — |
coverage_gap_periods | Completed periods used to group conversations with uncertain answers. | Full refresh | — | — |
top_questions | Question clusters for each completed period, with titles, summaries, counts, and recent conversations. | Full refresh | — | — |
coverage_gaps | Clusters of uncertain answers for each completed period, with suggestions for improving documentation. | Full refresh | — | — |