Connect to Your Data Lake¶
Estimated completion time: 15 minutes
This part of the tutorial will walk you through connecting to your
Data Lake using the
To complete this part of the tutorial, you will need to have completed the following:
Connect to Your Data Lake Using the
Connecting to your Data Lake depends on whether
you have the
mongo shell installed:
Open the Connect dialog.¶
Click the Connect button for your Data Lake.
Click Connect with the Mongo Shell.¶
Click I have the Mongo Shell Installed.¶
mongo shell version from the drop-down.¶
You must use Mongo Shell v3.6 or later to connect to your Data Lake.
Copy the provided connection string to your clipboard.¶
This is a unique connection string specific to your Atlas
cluster. Atlas replaces the
username of the connection
string with the username of the database user you created earlier
in this procedure.
Paste and run your connection string in your terminal.¶
When prompted, enter your database user's password.¶
You will be prompted to enter the password you specified when you created your database user in Atlas.
You should now be connected to your Atlas cluster within the
Only one user can authenticate on a connection to a Data Lake at any
given time. If a user authenticates and then runs the
db.auth() command, Data Lake replaces previous user's permissions with the new user's permissions.
command shows only the newly authenticated user in the
authenticatedUsers output field.
Now that you're connected to your Data Lake, proceed to Verify Your Database and Collections.