PostgreSQL Integration

Connecting PostgresQL to Retool

1. Get PostgreSQL Details & Whitelist Retool IP Address

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: 52.175.251.223.

2. Add to Retool

Create a new resource in Retool, and select "Postgres" as the type.

Enter your database connection details.

3. Create Queries

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 3 months ago


PostgreSQL Integration


Connecting PostgresQL to Retool

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.