# Setup MongoDB

Create an account and create a Cluster (you can use a free plan)

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FTnYQ5OLgyeH6IO9CIana%2Fimage.png?alt=media&#x26;token=e9bfb00e-f1e9-45dd-b24a-3e098eee3a5f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FK4qvdYOgWtYkWrpMLGWC%2Fimage.png?alt=media&#x26;token=89cd26be-63cb-4c4c-b28a-6360fc3b548f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FLx8YVI8e30fTpZfEtZOM%2Fimage.png?alt=media&#x26;token=feb3024d-caed-4c52-b501-362888ff51a8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2F3VV2IAbDCaPxiILvXsRI%2Fimage.png?alt=media&#x26;token=3e60421b-091d-43c3-a466-fba99361a585" alt=""><figcaption></figcaption></figure>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2F93fLseDWYYbYRyULfPeC%2Fimage.png?alt=media&#x26;token=3ec16921-aa69-45d6-9bbd-b68a6d669e49" alt=""><figcaption></figcaption></figure>

Select Compass option to connect.

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FZklzgEa5C3RbfWP2SWkP%2Fimage.png?alt=media&#x26;token=ef519017-786b-4ee8-a616-c76ee781baa3" alt=""><figcaption></figcaption></figure>

If you not have Compass installed, install it from <https://www.mongodb.com/try/download/compass>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FAtSzZaVUA0uaPQhbKiQH%2Fimage.png?alt=media&#x26;token=73814fde-2cac-4c9a-a50f-5ca350f4db0f" alt=""><figcaption></figcaption></figure>

Copy the connection URI.

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2F7gT21s2nLz6JFUzTOrxn%2Fimage.png?alt=media&#x26;token=9577375e-7dd2-43c0-969c-0108f12f8b6d" alt=""><figcaption></figcaption></figure>

Go to "Network Access" in "SECURITY" section and add the IP ADDRESS "`0.0.0.0/0"`

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FpovTw8fS0RS1dZhGiXTC%2Fimage.png?alt=media&#x26;token=eef1478a-432d-4d4e-a411-b32e1dd62699" alt=""><figcaption></figcaption></figure>

In your Compass aplication, paste the connection URI, and pess Connect.

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FW2frr4vg27qyM2WSa1VU%2Fimage.png?alt=media&#x26;token=cbc2f626-96d5-4d1b-83e0-23fb3ffee553" alt=""><figcaption></figcaption></figure>

Finally create a new database with the collection "guilds".

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2FebzTw0I1XZrruIpnEa2U%2Fimage.png?alt=media&#x26;token=15f99c29-2d2b-44c4-a25c-de11b71bb665" alt=""><figcaption></figcaption></figure>

<figure><img src="https://515029561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyEPu1zHuBZZwXe1LyFa5%2Fuploads%2Fa8rRBy1M89BV9linuYmY%2Fimage.png?alt=media&#x26;token=fc801b7f-0d23-427e-9013-5ec76bef8329" alt=""><figcaption></figcaption></figure>
