Skip to main content

MongoDB

Overview​

The MongoDB connector lets you connect to a MongoDB deployment using a standard MongoDB connection string.

Setup​

  1. Ensure your MongoDB instance is reachable from the connector runtime (network/VPC/firewall rules).
  2. Create or choose a MongoDB user with permission to connect and run basic commands (at minimum, the ability to run ping against the admin database).
  3. 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​

FieldTypeRequiredDescription
connection_stringstring✅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.