Skip to main content

Setting up the Database

The database natively used is MongoDB. So you will need to create an account for this step.

  • Once you have created an account navigate to the cluster page and create a free cluster. gif

  • Next wait for the changes to be deployed (this could take upto 5 minutes) and click the connect button.

  • Select the Allow Access from Anywhere button and then Add Ip Address. gif

  • Create a dbUser and dbUserPassword and hold onto this for later. gif

  • Navigate to Choose a connection method click Connect your application and copy the provided link. gif

  • Navigate to src/config.js in your bot and replace the mongodb://linkat the bottom with the link you have copied. Make sure to replace <password> with the password you created .

WARNING!

Do not share your username and password with anyone.