MongoDB Connection
Connect to MongoDB to query and manage documents in your databases.
Configuration
| Field | Description | Required |
|---|---|---|
| Connection String | MongoDB connection URI (e.g., mongodb+srv://user:pass@cluster.mongodb.net/mydb) | Yes |
| Database | Default database name | Yes |
Getting Your Connection String
MongoDB Atlas
- Log in to cloud.mongodb.com
- Go to your cluster and click Connect > Drivers
- Copy the connection string and replace
<password>with your database user's password
Self-Hosted
Use the standard MongoDB connection URI format:
mongodb://username:password@host:27017/databaseUsage
Once created, this connection becomes available in:
- MongoDB Find — query documents
- MongoDB Insert — insert documents
- MongoDB Update — update documents
- MongoDB Delete — delete documents
- MongoDB Aggregate — run aggregation pipelines
TIP
For MongoDB Atlas, make sure your IP address (or 0.0.0.0/0 for development) is in the Network Access allow list.