setting-up-a-data-warehouse-source
What it does
This skill guides you through connecting an outside data source to PostHog's data warehouse for the first time. It is for people who want business data such as payments or customer records next to their product data.
When to use it
- ✓When you want to connect Stripe, Postgres, HubSpot or another source to PostHog for the first time.
- ✓When you want to choose which tables to import and how often they sync.
- ✓When you are not sure which kinds of data sources PostHog supports.
Skill link
https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please connect my Stripe account to PostHog and import the main tables with sensible sync settings.”
5 new skills a week. 1 minute to read.
How it works
The agent checks your login details through a secure link, finds the tables, and turns them on with suitable sync settings in one step. For more control, it can instead walk you through choosing tables one by one.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Setting up a data warehouse source
Use this skill when the user wants to connect an external data source to PostHog's data warehouse for the first time.
Default to the one-step flow: data-warehouse-source-setup validates credentials, discovers every table, enables
them with sensible sync defaults (incremental where possible), and creates the source in a single call — no
schemas array to assemble. For credentials, hand the user a secure browser link with data-warehouse-source-connect-link
instead of collecting secrets in chat. Only drop to the manual wizard → db-schema → create flow when the user wants to
hand-pick which tables sync or set non-default sync types per table.
When to use this skill
- The user wants to connect a new source: "connect Stripe", "import my Postgres orders table", "sync Hubspot contacts"
- The user isn't sure what source types PostHog supports
- The user has credentials but doesn't know how to structure the
schemaspayload - The user wants guidance on which sync method to pick per table
Available tools
| Tool | Purpose |
|---|---|
data-warehouse-source-connect-link |
Preferred for credentials — get a secure browser/OAuth link so the user authenticates without pasting secrets in chat |
data-warehouse-source-setup |
Preferred to create — one call: validate creds, discover tables, apply sync defaults, create the source |
external-data-sources-wizard |
Discover which source types exist and what fields each needs (advanced flow) |
external-data-sources-db-schema |
Validate credentials and list tables with available sync methods per table (advanced flow) |
external-data-sources-create |
Advanced create — requires a schemas array built from the db-schema response |
external-data-sources-check-cdc-prerequisites-create |
Postgres CDC pre-flight check (optional, only for Postgres CDC) |
external-data-sources-webhook-info-retrieve |
Check if a source supports webhooks and whether one has been registered |
external-data-sources-create-webhook-create |
Register a webhook with the external service after source creation |
external-data-sources-update-webhook-inputs-create |
Supply the signing secret manually when auto-registration failed |
external-data-sources-list |
After creation, confirm the source is listed and see its initial status |
external-data-schemas-list |
See per-table sync status once the source is created |
external-data-destinations-list |
See existing destinations, including the PostHog warehouse |
external-data-destinations-connect-link |
Secure browser link where the user enters a destination's credentials; returns nothing secret |
external-data-destinations-create |
Create a destination from the integration the connect page saved |
external-data-destinations-add-sources |
Attach existing sources to a destination |
external-data-sources-destinations-update |
Set a source's full destination list, for example to keep the PostHog warehouse before attaching |
external-data-destinations-test-connection |
Diagnose a destination that is failing or paused (does not resume it) |
FAQ
Do I have to paste my passwords into the chat?
No. The agent gives you a secure browser link to enter your credentials.
Can I pick which tables to sync?
Yes. A manual setup lets you choose tables and set a different sync type for each one.
How does the agent choose sync settings?
It uses incremental sync where it can, which picks up only new or changed rows.
Details
Original description by the author
Guide the user through connecting a new data warehouse source — Postgres, MySQL, Stripe, Hubspot, MongoDB, Salesforce, BigQuery, Snowflake, and so on. Use when the user wants to "connect Stripe", "import data from Postgres", "add a new data source", "sync my warehouse tables", or wants to pick sync methods for each table. Walks through source-type discovery, credential validation, table discovery, per-table sync_type selection, and the final create call. Also covers picking a good prefix, what to do right after creation, and sending a source's tables to the user's own warehouse (Snowflake, Big
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6969
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.