The Connect dialog for a cluster provides the details to
connect to a cluster via the
For MongoDB 3.6 clusters, use the 3.6.0 or later version of the
shell with TLS support.
Clients must support TLS to connect to an Atlas cluster.
Clients must support the SNI TLS extension to
connect to an Atlas
M0 Free Tier or
M2/M5 shared starter
cluster. MongoDB 3.6 and later shell supports the SNI TLS
IP Access List¶
To access a cluster, you must connect from an IP address on the Atlas project's IP access list. If you need to add an IP address to the IP access list, you can do so in the Connect dialog. You can also add the IP address from the Network Access tab.
To access a cluster, you must create a database user with access to the desired database(s) on your Atlas cluster. Database users are separate from Atlas users. Database users have access to MongoDB databases, while Atlas users have access to the Atlas application itself.
You can create a database user to access to your Atlas cluster in the Connect dialog. You can also add the database user from the Clusters view.
Connect to Your Cluster¶
In the Clusters view, click Connect for the cluster to which you want to connect.
Choose your Connection Security.¶
Choose Connection Type from the set of available buttons.
Use this connection type for allowed public IP addresses.
Choose how you want to limit connections to your cluster.¶
Add a Connection IP Address
Skip this step if Atlas indicates in the Setup connection security step that you have already configured an IP access list entry in your cluster. To manage the IP access list, see Add Entries to the Access List.
Atlas allows standard client connections to the cluster from entries in the project's IP access list. The project IP access list differs from the API access list, which restricts API access to specific IP or CIDR addresses.
If the IP access list is empty, Atlas prompts you to add an IP address to the project's IP access list. You can either:
- Click Add Your Current IP Address to allow access from your current IP address.
- Click Add an IP Address to add a single IP address or a CIDR