getting heroku mlab mongo connection string code example Example: mongodb add on heroku $ heroku addons:create mongolab:sandbox