MongoDB Atlas-Connecting to Mongo Shell
This lesson will teach you how to connect to the MongoShell, step-by-step, using the MongoDB Atlas cluster that you created.
Connect to a Cluster from Mongo Shell
Now that you have created a cluster, the next thing that you want to do is to connect to the newly created cluster. There are multiple ways to connect to this cluster, from either Mongo Shell or the code.
In this example, I will show you how to connect to the Atlas cluster using Mongo Shell. Before we proceed, there are a few tasks we need to do.
First Task: Installing Mongo
The first task is, of course, having Mongo installed. We have already provided you with the terminal that has the Mongo shell in it at the end of this lesson. In case you want to try it on your local machine, you can read how to do that here.
Second Task: Adding WhiteList Entry
The second task is your IP address added to the clusters whitelist.
Get hands-on with 1200+ tech skills courses.