Skip to main content
All CollectionsSettings
Understand how to establish connectivity between the Digibee Platform and Mongo Atlas via Virtual Private Network (VPN).
Understand how to establish connectivity between the Digibee Platform and Mongo Atlas via Virtual Private Network (VPN).

How to connect Digibee Platform and Mongo Atlas via VPN

Pablo Brunetti avatar
Written by Pablo Brunetti
Updated over 3 months ago

To establish connectivity between the Digibee Platform and Mongo Atlas via Virtual Private Network (VPN), You need to provide Digibee support two information about Mongo Atlas: the cluster host and the three hosts used for load balancing by the main host.

The cluster host is automatically generated by Mongo Atlas and can be found in the connection string provided by Mongo. For example, in the connection string "mongodb+srv://cluster0.71llx.mongodb.net", the cluster hostname is "@cluster0.71llx.mongodb.net". The sequence of steps in the images below demonstrate how to find these values.


Additionally, You need to provide the three hosts used for load balancing by the main host cluster0.71llx.mongodb.net, exemplified as the following hosts:

  • cluster0-shard-00-00.71llx.mongodb.net:27017

  • cluster0-shard-00-01.71llx.mongodb.net:27017

  • cluster0-shard-00-02.71llx.mongodb.net:27017


With this information provided to Digibee Support, our team will make the necessary configurations in the client's realm to allow the pipeline to connect to Mongo Atlas through a VPN connection.

In this example, the connection string to be used in the MongoDB connector will be:"mongodb+srv://cluster0.71llx.mongodb.net/<nomedobanco>" .

About Authentication:

Mongo Atlas provides a connection string with a username and password, but It's recommended to remove this information from the string and create an Account to be used in the component. This makes the process more secure.

The Account in the Digibee platform must be of the Basic type, and the username and password information used must be the same as registered in the "Database Access" tab of Mongo Atlas.

This way, It is possible to establish a secure connection between the Digibee Platform and Mongo Atlas via VPN, allowing your pipelines to access the data stored in the database.


Once the VPN configuration is complete, You can connect the pipeline to the database. See an example of where to confirm the Database Name and Collection Name in Mongo Atlas and the configured MongoDB component:


Did this answer your question?