Navigation

Connect to Your Cluster

On this page

  • Prerequisites
  • Download and Install Utility
  • Connect to Your Atlas Cluster
  • Next Steps

Estimated completion time: 5 minutes

You can connect to your cluster in a variety of ways. This tutorial describes how to connect to your cluster using the mongosh, the Node.js driver, the PyMongo driver, and Compass.

  • An Atlas account.
  • An organization and project added with an account's user who has permissions to create clusters in this account.
  • An active cluster created in this account.
  • An IP address added to your IP access list.
  • A Database user on your cluster.

See Parts 1 - 4 of this tutorial for help with the prerequisites.

Note

You must have a database user set up on your cluster to access your deployment. For security purposes, Atlas requires clients to authenticate as database users to access clusters.

The following steps show you how to download and install the mongosh, the Node.js driver, and the PyMongo driver.

Before you start, verify that you have met all prerequisites.

Select the appropriate tab based on how you would like to connect to your cluster:

In Atlas, you can connect to your cluster using the following connection methods:

Before you start, verify that you have met all prerequisites.

Select the appropriate tab based on your preferred connection method:

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

Give Feedback

On this page

  • Prerequisites
  • Download and Install Utility
  • Connect to Your Atlas Cluster
  • Next Steps