Step 1: Copy your new Atlas connection string below:
It should look like mongodb+srv://yourdbuser:<password>@cluster.zzzzz.mongodb.net/<dbname>?retryWrites=true&w=majority
Step 2: Enter your database password and database name below:
- The password is the one used when creating the Atlas database.
- Database name is anything you like, but stick to letters and numbers.
Step 3: Click Generate
Step 4: Copy the resulting connection string in Heroku