Turso

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.

Learn more
PostHog Wizard hedgehog

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

OptionTypeRequired
Organization slugtextYes
Platform API tokenpasswordYes

Linking Turso to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Turso
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary 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