CommunityHire an ExpertSign Up
Databases and spreadsheetsPostgreSQL
Databases and spreadsheets

PostgreSQL integration

Connect a PostgreSQL database to Softr: show and edit its tables in your apps, and use them in workflows.

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.

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.

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.

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

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.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.