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