how to deploy app to heroku with mongodb atlas code example Example: mongodb add on heroku $ heroku addons:create mongolab:sandbox