Schematic

Schematic

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.

PostHog Wizard hedgehog

Connect Schematic to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync your Schematic companies, users, features, flags, plans, entitlements, feature usage and billing catalog into the PostHog Data warehouse.

Use a secret API key for the environment you want to sync, created under Settings > API keys in Schematic. Publishable keys can't list data.

Configuration

OptionTypeRequired
Secret API keypasswordYes

Linking Schematic to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Schematic
  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
companies

A customer account in Schematic, with its lookup keys, traits, assigned plans and billing subscription.

Full refresh——
users

An end user tracked by Schematic, with its lookup keys, traits and company memberships.

Full refresh——
company_memberships

A link between a user and a company.

Full refresh——
features

A feature defined in Schematic that plans and companies can be entitled to.

Full refresh——
flags

A feature flag evaluated by the Schematic SDKs.

Full refresh——
plans

A plan or add-on that bundles feature entitlements and billing products.

Full refresh——
plan_entitlements

A feature entitlement granted by a plan, with its limit and metering period.

Full refresh——
company_overrides

A per-company entitlement override that replaces the plan entitlement for one feature.

Full refresh——
billing_customers

A customer synced from the billing provider, with its subscriptions.

Full refresh——
billing_products

A product synced from the billing provider.

Full refresh——
billing_prices

A price synced from the billing provider.

Full refresh——
billing_coupons

A coupon synced from the billing provider.

Full refresh——
billing_meters

A usage meter synced from the billing provider.

Full refresh——
billing_credits

A credit type used in credit-based pricing, such as an AI token credit.

Full refresh——
feature_usage

Current usage of each feature entitlement for each company, against its allocation.

Full refresh——
feature_usage_history

Usage of each event-based feature per company and day. Usage is incremental within each day, so rows can be summed.

Incremental, Full refreshperiod_start—