Create a MongoDB User for Your Cluster

On this page

Estimated completion time: 2 minutes

You must create a MongoDB user to access your cluster. For security purposes, Atlas requires clients to authenticate as MongoDB users to access clusters.

MongoDB users are separate from Atlas users:

  • MongoDB users can access databases hosted in Atlas.
  • Atlas users can log into Atlas but do not have access to MongoDB databases.


To add a MongoDB user to your cluster:


Open the Connect dialog.

From your Clusters view, click the Connect button for your cluster.

Screenshot highlighting cluster connect button.

In the Create a MongoDB User step of the dialog, enter a Username and a Password for your MongoDB user.

You’ll use this username and password combination to access data on your cluster.

Screeenshot of adding new user information.


If your password contains special characters, you will need to encode them. For more information, see Special characters in connection string password.


Click Create MongoDB User.

Screenshot of creating new user.

See also

For information on configuring additional MongoDB users on your cluster, see Configure MongoDB Users.

Next steps

Now that you have a MongoDB user for your cluster, proceed to Connect to Your Cluster.