...

/

Setting up MongoDB & IP Whitelist

Setting up MongoDB & IP Whitelist

Learn to create and set up MongoDB.

Create a MongoDB Atlas account

The first step to setting up MongoDB Atlas is to create a new account, which can be done for free by using either an existing Google account or an email account. Once the account creation is complete, we choose one of three deployment options, which are as follows:

  • Serverless
  • Dedicated
  • Shared

We’ll go for the shared option because it allows us to create a free cluster and set up our database without any cost.

Create a shared cluster

After selecting the shared option, we’ll be presented with a new page about creating a shared cluster. We’ll have to choose four options on this page:

  • Cloud provider and ...