- Look in the config/environment variables on your heroku instance
- Find and Copy the DATABASE_URL
-
Example DATABASE_URL:
postgres://fforjkfkc:7217307aa219000000000000000000000000000000000000000170828@ec2.compute.amazonaws.com:5432/jfkfc8kh7kh747o6g
-
Anatomy:
postgres://[user]:[password]@[host]:[port]:[database]