MongoDB
Overview
The MongoDB connector lets you connect to a MongoDB deployment using a standard MongoDB connection string.
Setup
- Ensure your MongoDB instance is reachable from the connector runtime (network/VPC/firewall rules).
- Create or choose a MongoDB user with permission to connect and run basic commands (at minimum, the ability to run
pingagainst theadmindatabase). - Copy your MongoDB connection string (URI).
Authentication
This connector authenticates using a MongoDB connection string.
Connection string
Provide a MongoDB URI in the standard format, for example:
- Username/password:
mongodb://USERNAME:PASSWORD@HOST:27017/?authSource=admin
- SRV (Atlas):
mongodb+srv://USERNAME:PASSWORD@CLUSTER_HOST/?retryWrites=true&w=majority
The connector validates credentials by connecting and issuing a ping command against the admin database.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
connection_string | string | ✅ | MongoDB connection string (URI) used to connect and validate credentials. |
Streams
This documentation page covers the MongoDB connector configuration and authentication.
Destination support status
A MongoDB destination implementation exists but is still in development. Credential validation is supported, but loading data is not yet available.