I will suggest the below steps:
- Open Heroku got to the project page, press on resources.
- Under Add-ons you will find Heroku postgres (which is you're database) press on it.
- on Database go to settings get the credentials and connect to your database using pg-Admin by connecting to Heroku database using pg-Admin.
- In pg-Admin set the credentials for Heroku database but please don't forget to set the DB restrection in advance tab to connect only to your database on Heroku otherwise, you will get a list of DB you don't know why. Now you can work with your remote DB on heroku using pgadmin. please check the below pics for the config server in pgadmin
enter image description here enter image description here