Best model for proactive agents? Explore our benchmark
Get started

MongoDB

Open Integrations from the workspace sidebar and select MongoDB. Choose I have connection credentials or I have a connection string, then enter your database connection details:

MongoDB connection form with credential fields selected

After creating the integration, connect it to your project when prompted.

Secure connections

To connect through SSH, use an SSH tunnel integration. SSH tunnel integrations are available on the Enterprise plan.

Troubleshooting SSH connections for MongoDB

If you are encountering the following error

Could not reach any servers in X

try adding directConnection=true to the connection URL.