- Go to MongoDB website
(skip steps 2 and 3 if you already have an account, just create a new cluster) - On the account setup page, choose wisely your Organization name and Project name (you can't change that). Select Python as preferred language
- Choose
Create a clusteron theShared Clusterscategory (the free one) - Choose
Azureas provider andNetherlandsas region, then click onCreate Cluster(it takes 1-5 minutes, but don't close the window !) - When it's done, click on
Network Accesson left panelAdd IP AddressAllow access from anywhere(because Heroku IP addresses changes everytime)Confirm(it can take up to 2 minutes)
- Click on
Clusterson left panelConnect- Create a Database User (remember the credentials you choose !)
Choose a connection methodConnect with your application- Choose
Pythonas Driver - Choose
3.6 or lateras Version - Copy the URL
- Replace
<password>with the one you chosen at step 5.ii