PlanetScale
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 PlanetScale to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your PlanetScale branch credentials to pull your data into the PostHog Data warehouse.
Configuration
| Option | Description |
|---|---|
HostType: text Required: True | In the PlanetScale dashboard, open your database, pick the branch, and click Connect. Create a password there and copy the host, username, and password it shows. The host looks like |
PortType: number Required: True | |
DatabaseType: text Required: True | The PlanetScale database name, shown in the connection details. |
UsernameType: text Required: True | |
PasswordType: password Required: True | |
SchemaType: text Required: False |
Linking PlanetScale to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select PlanetScale
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import