🍄MongoDB Database
Get a free MongoDB database for your bot
Last updated
Get a free MongoDB database for your bot
Last updated
You must go to MongoDB Atlas and make your account first!!
First, you'll need to create a new project. If you look at the left side, you can create a new project by clicking the 'New Project' button in 'ORGANIZATION - Projects'.
Enter the name you want in Name Your Project. The rest of the options are up to you. Then click the 'Next' button to proceed.
You don't need to touch anything else, just click 'Create Project'. Set the options to your liking.
Once you have created a new project, you will be taken to the corresponding page, where you can create a new cluster by clicking the 'Create' button in the middle.
Select 'M0 Free' from there.
Enter the cluster with the 'Name' you want. Choose the 'Provider' and 'Region' as you like. Once you have completed the process, click Create Deployment to complete the cluster creation.
When you finish creating the cluster, the following window will appear, and you can fill in the 'Username' and 'Password' as you wish. Then, click' Create Database User'. Then click 'Choose a connection method' to proceed to the next step.
What we will use is 'Drivers'. Press it.
If you enable 'Show Password', you can directly copy the 'DatabaseSettings URL' that needs to be entered in 'Config.yml'! After copying the link, add the link to the 'DatabaseSettings URL' in 'Config.yml'.
Now you have finished setting up MongoDB.