Linking MongoDB as a source
The MongoDB connector can link your mongodb tables to PostHog.
To link MongoDB:
- Go to the Data pipeline page and the sources tab in PostHog
- Click New source and select MongoDB
- Enter your mongodb connection string
- Click Link
Once the syncs are complete, you can start using MongoDB data in PostHog.
Note: MongoDB data is unstructured so the returned columns are an
_idfield and adatacolumn that contain the entire document contents. Data fields can be selected with dot notation (e.g.data.field1)
Inbound IP addresses
We use a set of IP addresses to access your instance. To ensure this connector works, add these IPs to your inbound security rules:
| US | EU |
|---|---|
| 44.205.89.55 | 3.75.65.221 |
| 44.208.188.173 | 18.197.246.42 |
| 52.4.194.122 | 3.120.223.253 |
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.