Connecting Retool to Heroku Postgres Database

I'm not a Heroku expert, but this looks promising: Connecting to a Private or Shield Heroku Postgres Database from an External Resource | Heroku Dev Center