---
title: "PostgreSQL integration"
description: "Connect a PostgreSQL database to Softr: show and edit its tables in your apps, and use them in workflows."
canonical: "https://docs.softr.io/integrations/postgresql"
updated: "2026-12-04"
---

# PostgreSQL integration

Connect a PostgreSQL database to Softr. Your apps can show and edit its tables, and your workflows can read and write its records. Softr connects to your database directly, so your data stays where it is.

PostgreSQL works like the other SQL databases in Softr. This page covers what is specific to PostgreSQL. For everything else, see [SQL databases](/integrations/sql-database).

## Connect PostgreSQL

1. In the Softr Studio dashboard, select **Integrations** in the left menu.
2. Select **Connect new**.
3. In the **Select an integration** window, select **PostgreSQL**.
4. Enter a **Name** to recognize the connection, then the **Host**, **Port**, **Database**, **User** and **Password**. Softr fills in the default PostgreSQL port, `5432`.
5. Select **Connect**.

If your database only accepts known addresses, add Softr's IP addresses to its allowed list: `3.120.79.212`, `3.123.159.186` and `52.58.246.121`.

> **Tip**
>
> You can also keep your data in Softr Databases, built into Softr and ready for your apps and workflows. See [Softr Databases](/databases/overview).

## Use PostgreSQL in an app or a workflow

1. Add the connection to your app or workflow, as for any SQL database.
2. Select the PostgreSQL connection.
3. Choose the **Database**, then the **Schema**, then the table.

For blocks, field types and workflow actions, see [SQL databases](/integrations/sql-database).

![The SQL actions in the workflow step picker: Add record, Find record, Find multiple records, Delete record, Delete multiple records, Update record, Update multiple records](/integrations/sql/actions.2x.webp)

_The SQL actions in the step picker of a workflow\._

## FAQ

**Which plan do I need for PostgreSQL?**

PostgreSQL is available on the Business and Enterprise plans.

**Do I connect PostgreSQL once per app?**

No. You connect it once for your workspace. Then every app and workflow in the workspace can use the connection.

**The connection fails. What can I check?**

Check the host, port, user and password. Check that the user can access the database. If your database accepts only known addresses, add Softr's IP addresses to its allowed list.
