Mongo Database
Documentation on how to get Mongo Database free of charge.
If you want to use MongoDB and don't want to give money away or you don't need anything special, then you can follow this guide to get database for free:
Create Project
Register on MongoDB Atlas & verify your mail
Now you'll be prompted to select Plan, select M0
Scroll down and optionally change Name & Location and click 'Create'
Now you'll be asked to create User for Database, choose Username & Password and click 'Create User'
Now you need to add list of IP Addresses which will be able to connect to your Database. Enter IP of your machine/server or 0.0.0.0 to allow access from anywhere (not recommended) and click 'Add Entry'
Now scroll down and click 'Finish and Close'
Connect
Now in order to connect bot to MongoDB, you'll need Connection URI which can be obtained in a few simples steps:
Click Connect Button
Copy the URI by clicking button like on this image
Open
config.yml
and finddatabase.mongo.uri
field and paste the URI you copied into it. 1. You can optionally add database name of your choice aftermongodb.net/
. By default it will be 'test'.Save and restart Bot
Last updated