Docs Menu
Docs Home
MongoDB Atlas

Connect to Your Cluster

On this page

  • Required Access
  • Prerequisites
  • Connect to Your Atlas Cluster
  • Next Steps

Estimated completion time: 5 minutes

You can connect to your cluster in a variety of ways. In this tutorial, you use one of the following methods:

Use the Select your language drop-down menu to set the connection method for this tutorial, including mongosh and Compass.


If you're using the atlas setup or atlas quickstart commands with default options to get started with Atlas, the Atlas CLI provides you with a mongosh command to connect to your cluster.

To connect to a cluster, you must be a database user.

Before you start, verify that you have:

In this section, you get your cluster's connection string from the Atlas UI and connect to your cluster by using your preferred connection method.

To learn about all supported methods, see Connect to Your Cloud Cluster. For additional driver examples, see Connect via Drivers.

Now that you've connected to your cluster, proceed to Insert and View Data in Your Cluster.

← Manage the IP Access List