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