Our MongoDB integration is still in beta. Some features, such as column-level lineage, are not yet supported. Please contact us if you need assistance.
Configure user in MongoDB
To connect to MongoDB, create a user with read-only access to all databases you plan to diff.Configure in Datafold
Field Name | Description |
---|---|
Connection Name | The name you’d like to assign to this connection in Datafold |
Host | The hostname for your MongoDB instance |
Port | MongoDB endpoint port (default value is 27017) |
User ID | User ID (e.g. DATAFOLD ) |
Password | Password for the user provided above |
Database | Database to connect to |
Authentication Database | Database name associated with the user credentials (e.g. main ) |
Diff your data

- Create a new data diff
- Select your MongoDB data connection
- Select
Query
diff (Table
diffs aren’t supported at this time) - Write a SQL query against the flattened dataset, including a
PRAGMA
statement with the collection name on the first line. Here’s an example: - Configure the rest of your diff and run it!