Chartio connects to Heroku PostgreSQL databases with great ease. You'll simply need to retrieve the connection URL from the database's admin page. For more details follow these connection steps.
On its page, open the Connection Settings menu pictured below and select URL
Copy the URL listed. It should look something like this:
From your dashboard, navigate to your Project Settings by clicking the gear icon.
Copy the URL from Heroku, paste it into the input box in Chartio, and submit
Heroku wisely enables PostgreSQL SSL connections by default. Every data connection Chartio makes is encrypted this way.