
Azure Cosmos DB
This source is currently in alpha. The interface and available tables may change.
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 Azure Cosmos DB to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Sync the containers of an Azure Cosmos DB for NoSQL database into the PostHog Data warehouse. Each container becomes a table, and incremental syncs use the _ts system property Cosmos stamps on every write.
Enter the account endpoint (https://<account>.documents.azure.com), a read-only or read-write key from the account's Keys page, and the database to sync. Only the NoSQL API is supported.
Configuration
| Option | Type | Required |
|---|---|---|
Account endpoint | text | Yes |
Account key | password | Yes |
Database | text | Yes |
Linking Azure Cosmos DB to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Azure Cosmos DB
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
The tables available from this source are discovered from your account when you connect it, so the exact list depends on your data. Once connected, you can pick which tables to sync from the sources tab.











