MongoDB is an open source database that uses JSON-like documents with schemas. It ensures high availability and flexibility while working with high volumes of data. Any service that provides MongoDB as-a-service, can be integrated with the Built.io Flow Enterprise.

Actions
-
Create Objects
Create one or more objects in the specified collection
-
Delete Objects
Delete the specified objects from a collection
-
Find Objects
Retrieve the objects that match with the specified query
-
FindOne Object
Retrieve only a specific object from the collection
-
Update Objects
Update one or more objects of the specified collection
Common Questions
To use MongoDB in your flow, you will first need to connect MongoDB to Built.io Flow Enterprise.
To do this, drag any MongoDB action listed under MongoDB service on the canvas and click on ‘Add New’ option listed under ‘Connect to MongoDB’ field in the configuration window. You will be prompted to enter the values for several fields to create this connection. You can retrieve these values by logging in to any service that provides MongoDB as a service. We will be using ‘mLab’ service in this guide to create this connection. You can also rename the connection name in the ‘Connection Label’ field.
Let us now understand how to retrieve the values for these fields:
First, login to your mLab account and click on the database you wish to work on.
You will be redirected to a new window where you can see all the collections, users, stats, backups, and tools associated with the database.
Username: To retrieve the ‘Username’, click on the ‘Users’ tab. You will see a list of users along with their permission.
Password: Enter the password for the specified username.
Hostname: To retrieve the hostname, locate the ‘Standard MongoDB URL’ listed under database settings at the top section of the window. We need to enter only a specific part of this URL as an input for this field, as shown below:
Port: Enter the number given next to hostname in the same URL, as an input for ‘Port’ field.
Database Name: Enter the name of the database on which you wish to work.
Once you have entered these details, click on ‘ADD’ link. The connection will be automatically created and added under ‘Connect to MongoDB’ field. Once added, this connection will be available in all MongoDB actions.