Skip to content

Instantly share code, notes, and snippets.

@decagondev
Created August 7, 2025 14:52
Show Gist options
  • Select an option

  • Save decagondev/cf2d40466af98519247d5d599cb9bba8 to your computer and use it in GitHub Desktop.

Select an option

Save decagondev/cf2d40466af98519247d5d599cb9bba8 to your computer and use it in GitHub Desktop.

Guide to Adding a New Database User in Atlas

This guide provides step-by-step instructions for creating a new database user in Atlas, including setting up authentication and assigning privileges.

Step 1: Access the Database Users Tab

  1. Navigate to the Database Access page in Atlas.
  2. Click the Database Users tab if it is not already displayed.

Step 2: Open the Add New Database User Dialog

  1. On the Database Users tab, click the Add New Database User button to open the dialog box.

Step 3: Select Password Authentication

  1. In the Add New Database User dialog, locate the Authentication Method section.
  2. Select the Password option by checking the corresponding box.

Step 4: Enter User Information

  1. In the Password Authentication section, find the two text fields.
    • In the top text field, enter a username for the new user.
    • In the lower text field, enter a password for the new user.
  2. Alternatively, click the Autogenerate Secure Password button to have Atlas generate a secure password for you.

Step 5: Assign Privileges

  1. In the Add New Database User dialog, locate the Built-in Role dropdown menu.
  2. Select a built-in role to assign privileges to the new user. Note:
    • You can assign only one built-in role per user within the Atlas UI.
    • If you need to change the role, delete the default option and click Add Built-in Role to select a new one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment