You can get your database connection details from whoever set up the database. You'll also need to get them to whitelist the Retool IP address.
Create a new resource in Retool, and select "Postgres" as the type.
Enter your database connection details.
You can now select your newly-created PostgreSQL resource from the Select Resource dropdown when creating queries in your Retool apps. You can toggle between SQL mode for raw SQL statements or the GUI mode for structured writes.
You can display the results of PostgreSQL queries as with any other query in Retool:
Updated about a month ago