MongoDB
Query MongoDB collections and pass documents to Agent nodes
MongoDB is a leading NoSQL document database. CipherSense Agents connects via a MongoDB connection URI, letting your workflows query collections and retrieve JSON documents as context for Agent nodes. Compatible with MongoDB Atlas, self-hosted MongoDB, and AWS DocumentDB.
Official documentationSetup
Get your connection URI
Get your connection URI
From MongoDB Atlas: go to your cluster > Connect > Drivers > copy the connection string. Replace <username> and <password> with your credentials.
# MongoDB Atlas connection string format
mongodb+srv://<username>:<password>@cluster0.abcde.mongodb.net/<database>?retryWrites=true&w=majorityCreate a least-privilege user
Create a least-privilege user
In Atlas: Database Access > Add new database user. Assign the readAnyDatabase role or a custom role limited to specific collections.
Whitelist IP addresses
Whitelist IP addresses
In Atlas: Network Access > Add IP Address. Add your CipherSense Agents server's IP address.
Add the integration in CipherSense Agents
Add the integration in CipherSense Agents
Go to Project > Integrations > Add Integration > MongoDB. Paste your connection URI. Click Save & Test.
Connection Fields
Fields required when adding this integration in your Project › Integrations.
| Field | Required | Description |
|---|---|---|
| Connection String | Required | Full MongoDB connection string including credentials. From Atlas: cluster > Connect > Drivers. |
| Database Name | Required | Name of the MongoDB database to connect to. |
Common Use Cases
Ready to connect MongoDB?
Add this integration from your project dashboard and wire it into a workflow.
On This Page