Skip to main content

MongoDB Adaptor

About MongoDB

MongoDB is a NoSQL, document-oriented database that stores data in BSON (Binary JSON) format, enabling easy storage and retrieval of complex and hierarchical data structures

Integration Options

The mongodb adaptor provides direct database connections for accessing data and executing SQL and standard database operations. See functions for more on how to use this adaptor.

Authentication

See the MongoDB docs for the latest on supported authentication methods. When integrating with a MongoDB database via OpenFn, you authenticate via SSH using authorized database credentials. See this adaptor's configuration docs for more on the required authentication parameters.

See platform docs on managing credentials for how to configure a credential in OpenFn. If working locally or if using a Raw JSON credential type, then your configuration will look something like this:

{
"clusterHostname": "yourCluster-xxxyzzz.mongodb.net",
"username": "admin",
"password": "@secret(!)Pass"
}
  1. MongoDB documentation

I've noticed a problem with this Adaptor, or something is out of date, what can I do?

Thanks for asking! We are a fully Open Source Digital Public Good, and we welcome contributions from our community. Check out our Adaptors Wiki for more information on how you can update Adaptors!

Or, you can always reach out to the Community through our Community Forum here.