MongoDB

MongoDB is a document database.
With the MongoDB app in Make, you can manage documents individually or in bulk, and perform bulk query actions in your MongoDB account.
Requirements
To use the MongoDB app in Make, you must have a MongoDB account and a running instance of a MongoDB database configured with public access to the Internet.
Connect MongoDB and Make
To get started, you must first create a connection between MongoDB and Make, allowing the two services to communicate.
To create the connection, you need to:
Whitelist IP addresses in MongoDB
Before you create the connection in Make, you should first whitelist the required IP addresses in your MongoDB account.
To do that:
Log in to your MongoDB account.
In the header, select your Organization and Project.
In the SECURITY section in the left sidebar, click, click Network Access.
Then, click + ADD IP ADDRESS.

For the Access List Entry field, enter the IP addresses for your zone and click Confirm.
You can find the Make IP addresses here.

Obtain your connection string in Mongo DB
To create the connection in Make, you should also get the connection string from your MongoDB account.
To obtain the connection string:
Log in to your MongoDB account.
In the header, select your Organization and Project.
In the left sidebar, click Clusters and select the Cluster you want to connect to.
Then click Connect.

Click Connect to your application > Drivers.

Copy your Connection string.

While pasting this Connection string into the Connection string field in Make, you need to replace <username> and <db_password>with your actual credentials.
You can obtain them from the MongoDB Admin. The Admin can either use personal credentials or create a dedicated database user for Make integration.
To create a new user:
- In the SECURITY section in the left sidebar, click Database access.
- Click +ADD NEW DATABASE USER.
- Enter username and password, and click Add user.
Once the user is created, the <username> and <db_password> can be replaced with these credentials while paste the Connection string into Make.
You can also add the database name to the connection string (e.g., mongodb+srv://<username>:<password>@myclass.9fnerah.mongodb.net/<database name>?retrywrites=true&w=majority). It will be chosen as a default option for the Database connection field in Make.
Create the connection in Make
Once you have your MongoDB connection string, you're ready to create the connection in Make.
To create the connection:
Log in to your Make account, add an MongoDB module to your scenario, and click Create a connection.
Optional: In the Connection name field, enter a name for the connection.
In the Connection string field, enter the connection string copied above.
Click Save.
If prompted, authenticate your account and confirm access.
You have successfully created the connection and can now use the MongoDB app in your scenarios. If you want to make changes to your connection in the future, follow the steps here.
MongoDB modules
After connecting to the MongoDB app, you can use the following types of modules to build your scenarios:







