This guide provides step-by-step instructions for creating a new database user in Atlas, including setting up authentication and assigning privileges.
- Navigate to the Database Access page in Atlas.
- Click the Database Users tab if it is not already displayed.
- On the Database Users tab, click the Add New Database User button to open the dialog box.
- In the Add New Database User dialog, locate the Authentication Method section.
- Select the Password option by checking the corresponding box.
- 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.
- Alternatively, click the Autogenerate Secure Password button to have Atlas generate a secure password for you.
- In the Add New Database User dialog, locate the Built-in Role dropdown menu.
- 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.