Heroku and Databases

How do you connect to the database on Heroku? Just using the standard postgresSQL set up.