Here's how to create a free cluster and connect it to your project using the connection string
- Create an account on MongoDB Cloud Atlas
- You will be prompted right away to create a new project and org. You may leave all values as default and click
Continue
. - Three cards will show up next asking you to choose a cluster. Select the
Shared Cluster
- that's the one which is free. - The next screen is about details of the cluster. Make sure M0 Cluster Tier is selected. You may leave all values as default and click on
Create Cluster
- Wait for some time for the cluster to get ready and then click on
Connect
. - First thing you need to add it IP Address. Select
Add your current IP Address
if you are working on the project yourself only orAllow Access from Anywhere
. You may even manually add IP Addresses by clicking onAdd a different IP...
- Next up is Database user creation. You need to enter a username and password. For explanatory purposes, say I ad