How to create a Free MongoDB database
Step 1
Go to https://www.mongodb.com/cloud/atlas/register (opens in a new tab) and create a account.
Step 2
Complete the form and click Finish.
Step 3
Select Free Shared plan and select a region near the location of the server you purchased (to reduce latency) then click Create Cluster.
Step 4
In the Security Quickstart tab select Username and Password and create a user.
Step 5
Then select My Local Environment and in the IP Address input type: 0.0.0.0
Then click on Add Entry and Finish and Close.
It is possible that the database is still being built and may take a few minutes. You can verify that the database is ready if the status is green indicating that it is active.
Step 6
After you verify that the status is active, click the Connect button and select Connect your application.
Step 7
Copy the link and you will be able to close the website.
Remember to edit the <password>
section to the password you created in step 4.