Heroku is a cloud platform as a service based on a managed container system. It supports multiple programming languages, has powerful integrated data services and mighty ecosystem that allows developers deploy and run modern apps. The dbForge Studio for PostgreSQL client has implemented support for Heroku.
Each Heroku Postgres database has a corresponding Heroku application. The database is attached to the Heroku app and can be accessed through an app config var that contains the database URL.
To get all database connection properties from Heroku CLI, invoke your process as follows:
DATABASE_URL=$(heroku config:get DATABASE_URL -a test-app)
To get all database connection properties from Heroku Console, go to the Settings tab and click the Reveal Config Vars button.
Switch to the Security tab, check Use security protocol, and select Use SSL.
Note
You can specify the location of the certificates in the corresponding fields, but this is optional.
(Optional) To test the created connection, click the Test Connection.
Click OK to establish the database connection.