Linking MongoDB as a source

Last updated:

|

The MongoDB connector can link your mongodb tables to PostHog.

To link MongoDB:

  1. Go to the Data pipeline page and the sources tab in PostHog
  2. Click New source and select MongoDB
  3. Enter your mongodb connection string
  4. 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 _id field and a data column 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:

USEU
44.205.89.553.75.65.221
44.208.188.17318.197.246.42
52.4.194.1223.120.223.253

Questions? Ask Max AI.

It's easier than reading through 814 pages of documentation

Community questions

Was this page useful?

Next article

Linking MySQL as a source

Read next article