Skip to main content
The MongoDB node adds MongoDB operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields.
You can wire the MongoDB node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.

Credentials

Connect MongoDB under Credentials in the node settings. See Connecting credentials for the general flow. Enter the values manually when creating the credential. Go to MongoDB Atlas → Database → Connect → Drivers, copy the connection string, and replace <password> with your database user password. For self-hosted MongoDB use mongodb://user:pass@host:27017/. Get your credentials here.

Operations

Aggregation

Collections

Database

Documents

Indexes