Docs Menu

Docs HomeMongoDB 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.


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 Database Deployment. For additional driver examples, see Connect via Your Application.

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

Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.