Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to Install MongoDB Atlas?

  • Last Updated : 30 Nov, 2021

MongoDB has a cloud service also known as MongoDB Atlas. It is a cloud base database that allows us to host up our database and serve us whenever we need it. It removes all our effort to host our database on our local devices and can serve us anytime.

Features of MongoDB Atlas:

  • Strong security
  • More precise analysis of data
  • Easy Scalability
  • Technical support

Installing MongoDB Atlas:

Follow the below step to install MongoDB Atlas: 

Step 1:  Go to the MongoDB website and signup. Enter your credentials and click on create account and then verify the account or just click sign up with google and select the Id from which you want to register.

signup at MongoDB website

Step 2:  Now select the Shared option and click on Create for free usage. 

select the Shared option

Step 3: Now select cloud provider AWS or Google cloud for free hosting and then select the region in which it should be hosted. And in the Cluster tier select M0 Sandbox for the free environment. And If you want you can rename the cluster. It will take 4-5 minutes to set up the environment.

 select cloud provider

Step 4: Create a username and password then select database access to atlasAdmin and network access to allow access to anywhere. That will be the username and password through which the user can access the database given to who do you give access.

Create a username and password

Step 5: Select Connect and then select connect with the MongoDB Shell then go to I have MongoDB shell installed. Select the node version from there. And after that run the command in the command line which is given. Then enter the password which the user has set earlier with the username and password.

connect with the MongoDB Shell

Step 6: Go to Connect then Connect your application select your node version. Now copy the link given and paste it into your application where you connect MongoDB. And replace <password> with your password.  

Connect your application

And that’s it. Now you are connected with the MongoDB atlas.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!