I upload the sample app to heroku and I have created the postgress database and I was able to connect using the heroku client using the same credentials provided by heroku datab