MongoDB Atlas

After you have selected MongoDB Atlas as the Source for creating the Pipeline, provide the connection settings and data replication details listed here in the Configure your MongoDB Atlas Source page. You can fetch the database settings from your MongoDB Atlas account.

You can connect to the MongoDB database in one of the following ways:

  • By specifying the individual connection fields such as database host, database port, username, and password.

  • By entering the connection URI to connect to your MongoDB replica set or sharded cluster.

    Connection URIs are of two types:

    • DNS Seedlist: This type of connection URI has the prefix mongodb+srv://.

      For example, mongodb+srv://Jerome:Hevo123@cluster0.t7l5k.mongodb.net/test.

      The +srv part indicates that the hostname corresponds to a DNS SRV record. The hostnames and port values for your MongoDB database are fetched from the DNS SRV record.

    • Standard Connection String: This type of connection URI has the prefix mongodb://. This contains a comma-separated list of host:port combinations.

      For example, mongodb://Jerome:Hevo123@cluster0-shard-00-00.t7l5k.mongodb.net:27017,cluster0-shard-00-01.t7l5k.mongodb.net:27017,cluster0-shard-00-02.t7l5k.mongodb.net:27017/test?replicaSet=atlas-uax6f3-shard-0&ssl=true&authSource=admin.

      In the above example, Jerome is the database user and Hevo123 is the password for the database user.


Limitations

  • Hevo does not support configuring a standalone instance of MongoDB without a replica.

See Also


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Jul-12-2022 1.92 Updated section, Configure MongoDB Atlas Connection Settings to include information about the drop-down to select databases in the Load All Databases option.
Apr-21-2022 1.86 Updated section, Configure MongoDB Atlas Connection Settings.
Jan-03-2022 1.79 Updated the description of the Include New Tables in the Pipeline advance setting in the Configure MongoDB Atlas Connection Settings section.
Jul-12-2021 1.67 Added the field Include New Tables in the Pipeline under Source configuration settings.
Jun-28-2021 1.66 - Updated the page overview section.
- Updated the section Retrieve Database Settings to include latest steps.
- Updated the section Set up Permissions to Read MongoDB Atlas Databases to include latest steps.
- Updated the section Configure MongoDB Atlas Connection Settings to include the option to connect to the MongoDB Atlas database using connection string.
- Added section, Limitations.
Last updated on 10 Nov 2022

Tell us what went wrong