Connecting to a Heroku Postgres Database
Heroku launched what they call the âSQL database service for developersâ.Â
It relieves the burden of database management by providing a set of features and tools that save a lot of time and effort.Â
These Heroku Postgres databases can accept outside connections so you are able to connect them to the business intelligence tool of your choice.
Let me show you how you can quickly connect a business intelligence tool to a Database.
On your Heroku Dashboard choose âDatabasesâ
Then choose the Database you want.Â
Click to get the connection details.
Now, we have to configure this database in a business intelligence tool. Iâll show you how to do it in Viur. Go to the âDatasource Configurationâ page and click âAdd Datasourceâ > âAdd Databaseâ and copy the connection details and test the connection.Â
Make sure you have âuse SSLâ checked because Heroku only accepts connections with SSL.
Save the connection and follow the link to the âWidget Creatorâ.
The Database is loaded and good to go.
Letâs do a simple query using the âCode Editorâ to see how it goes.
Looks good.Â
All in all, it took me less than five minutes to get the database connection details from Heroku, connect it to my business intelligence tool (Viur) and create a simple chart using a SQL query.Â
Viur is Business Intelligence made easy.












