Connecting to Heroku Postgresql Database using OPA
A common use case for companies using Salesforce is the use of Heroku Connect to to perform Data Replication from their Salesforce instance. This data can then be used for any other purposes, for example as input to your Workato recipes.
While the Workato Postgresql cloud connector connects seamlessly with Heroku Postgresql, currently some more advanced actions require the OPA agent to be utilised. E.g., the "Run Custom SQL" action:
As per Heroku's Postgresql documentation, SSL is required to secure your connection, otherwise you might run into errors like:
OPC Error: FATAL: no pg_hba.conf entry for host "<your OPA IP Address>", user ...
While SSL is enabled on the cloud connector, it needs to be manual setup on your OPA config.yaml file, like in the excerpt below:
Tiago Esperanca
Connecting to Heroku Postgresql Database using OPA
A common use case for companies using Salesforce is the use of Heroku Connect to to perform Data Replication from their Salesforce instance. This data can then be used for any other purposes, for example as input to your Workato recipes.
While the Workato Postgresql cloud connector connects seamlessly with Heroku Postgresql, currently some more advanced actions require the OPA agent to be utilised. E.g., the "Run Custom SQL" action:
As per Heroku's Postgresql documentation, SSL is required to secure your connection, otherwise you might run into errors like:
OPC Error: FATAL: no pg_hba.conf entry for host "<your OPA IP Address>", user ...
While SSL is enabled on the cloud connector, it needs to be manual setup on your OPA config.yaml file, like in the excerpt below:
...
postgre_db:
url: jdbc:postgresql://<db url>/<db name>
username: <user>
password: <pwd>
ssl: true
sslfactory: org.postgresql.ssl.NonValidatingFactory
...