
Turso
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 Turso to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Import Turso Platform API metadata and usage. Tables stored inside your SQLite databases are not imported. Use an organization-scoped Platform API token with access to the selected resources, created with turso auth api-tokens mint. Database auth tokens cannot access the Platform API. Audit logs require the Scaler plan or higher and are disabled by default. Database usage refreshes the current calendar month.
Configuration
| Option | Type | Required |
|---|---|---|
Organization slug | text | Yes |
Platform API token | password | Yes |
Linking Turso to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Turso
- 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 |
|---|---|---|---|---|
databases | Database metadata, placement, and access settings. | Full refresh | — | DbId |
groups | Database groups and their primary locations. | Full refresh | — | uuid |
members | Organization members and their roles. | Full refresh | — | username |
invites | Pending organization invitations. | Full refresh | — | id |
invoices | Issued invoices and their payment status. | Full refresh | — | invoice_number |
audit_logs | Organization activity. Requires the Scaler plan or higher; enable this table to sync it. | Full refresh | — | — |
database_usage | Current calendar month usage totals and instance metrics for each database. | Full refresh | — | database_id |