Built-in apps
MongoDB
8min
mongodb is a document database with the mongodb app in {{product name}} , you can manage documents in your mongodb account requirements to use the mongodb app in {{product name}} , you must have a mongodb account and a running instance of a mongodb database configured with public access to the internet connect mongodb and {{product name}} to get started, you must first create a connection between mongodb and {{product name}} , allowing the two services to communicate to create the connection, you need to mongodb docid\ juh93i3ck9z6hq6bdlk9h mongodb docid\ juh93i3ck9z6hq6bdlk9h mongodb docid\ juh93i3ck9z6hq6bdlk9h obtain your connection string in mongo db before you create the connection in {{product name}} , you should first get the connection string in your mongodb account you can use the most recent driver type and connect to a serverless instance from make to obtain the connection string log in to your mongodb account in the left sidebar, click database > connect click connect your application > drivers connection string step 3 select node js driver version 4 1 connection string step 4 replace the \<username> , \<password> with your account credentials, add the database name , and paste the connection string in the app's connection screen mongodb+srv //\<username> \<password>@myclass 9fnerah mongodb net/\<database name>?retrywrites=true\&w=majority connection string step 5 copy your connection string and store it in a safe place you'll use this value in the connection string field in {{product name}} whitelist ip addresses in mongodb you can find the make ip addresses here log in to your mongodb account make sure that mongodebug is shown in the upper left corner dropdown under the atlas logo in the left sidenav, click network access click + add ip address for the access list entry field, enter the ip address and click confirm create the connection in {{product name}} once you have your mongodb connection string, you're ready to create the connection in {{product name}} to create the connection log in to your {{product name}} account, add an mongodb module to your {{scenario singular lowercase}} , 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 {{scenario plural lowercase}} if you want to make changes to your connection in the future, follow the steps connect an application docid\ so88fm6pkt0g adkddfzz mongodb modules after connecting to the mongodb app, you can use the following types of modules to build your {{scenario plural lowercase}} actions delete a document insert a document retrieve a document update document searches search documents date/time queries to perform a date/time query, use the iso 8601 format with milliseconds and no time zone offset e g 2019 05 06t16 19 03 123z mongodb resources mongodb api documention mongodb get started guides