# MERNSnippet: How To
---
## Set Up MongoDB Atlas

### Description
> [MongoDB](https://www.mongodb.com/) is a document-based, distributed database for the cloud <br />

MongoDB Atlas helps host and manage data in the cloud

### Step 1
Sign Up MongoDB account [here](https://account.mongodb.com/account/register) 
<img src="img/1.png" width="100%"><br/>
or [Sign In](https://account.mongodb.com/account/login) if you already have
<img src="img/2.png" width="100%"><br/>

### Step 2
Create a project <br />
![3](img/3.png) ![4](img/4.png) <br />
Name your project <br />
![5](img/5.png) <br />

### Step 3
Create a cluster for the project <br />
![6](img/6.png) <br />
and choose cloud provider, region 

### Step 4
Add a database user <br />
![7](img/7.png) <br />
![8](img/8.png) <br />
and set up name, password, permissions <br />
<img src="img/9.png" width="100%"><br/>

### Step 5
Add IP address <br />
![10](img/10.png) <br />
and allow access from anywhere <br />
<img src="img/11.png" width="100%"><br/>

### Step 6
Connect your app to the cluster <br />
<img src="img/12.png" width="100%"><br/>
<img src="img/13.png" width="100%"><br/>
and copy connection string for future use <br />
<img src="img/14.png" width="100%"><br/>

**Congratulations! 🎉** MongoDB is waiting for your data 🧐

#### Got a question ❓   [✉️](https://twitter.com/Andrew79361148)

Want to know more? 👉 [Read next](https://github.com/andrewsinelnikov/ReactSnippet-How-To/blob/main/README.md)
