Supabase integration
Connect your Supabase Postgres database to Softr, then build apps on your tables, and find, add, update and delete records from your workflows and agents.
Supabase is a Postgres database with an API on top. In Softr, you can build apps on your Supabase tables and use Supabase in workflows and agents.
Connect Supabase
You connect Supabase with the PostgreSQL (PSQL) credentials of your Supabase project.
-
Log in to Supabase, go to the dashboard, and select the project you want to connect to Softr.

Select the project you want to connect to Softr -
Select Connect at the top of the project settings page.

Select Project settings in the bottom left menu -
Change the Type to PSQL.
-
Open the View parameters dropdown under the Session Pooler section.

Select the Database tab under Configuration -
In the Configuration Parameters section, copy these credentials and store them securely: Host, Database, Port (default
5432), User, and Password. The password is usually the project password.
Find the Connection parameters section and copy down the credentials -
Set the pool size to 45 or greater, so that your database supports several Softr connections at once. In Supabase, open Project Settings → Database, type the pool size, and select Save.

-
In the Softr Studio dashboard, select Integrations in the left menu, then select Connect new.

-
In the Select an integration window, select Supabase.

-
Paste your credentials into the matching fields: Host, Port (
5432by default), Database, User, and Password. -
Optional: enter a Name for your connection.
-
Select Connect.

The Connect to Supabase database window, with the fields to fill in -
Optional: if you restrict IP addresses in Supabase, add Softr’s IP addresses to your allowed list:
3.120.79.212,3.123.159.186, and52.58.246.121.
To use Supabase in a workflow:
- Open your app and go to Workflows.
- Create a workflow and add an action from the SQL group to add, find, update or delete a record.
- Under Account, connect your Supabase database with the same PSQL credentials.
- Choose the database, schema and table.
- Map fields from your forms, records or earlier workflow steps to the action inputs. For advanced cases, write a custom SQL Query.
- Save and publish the workflow.
Use cases
| Use case | What it does |
|---|---|
| Form-to-database intake | A form submission adds a new record, with all submitted details, to your Supabase table. |
| User provisioning on sign-up | When a member signs up, creates their record in Supabase. |
| Status sync | When a record moves to “In progress” in your app, updates the matching Supabase row. |
| Live data dashboard | Find multiple records powers a list block that shows your latest Supabase data. |
| Bulk updates | Updates many records at once, for example to mark a batch of orders as shipped. |
| Automated cleanup | Deletes cancelled or expired records. |
Use Supabase as a data source
Supabase is available on Pro and higher plans.
Connect your Supabase data to a Classic app
Once your Supabase account is connected, you can use it in any app.
Connect a block to a table
To display your data in the app, connect a dynamic block, such as List, Grid, or Table, to your Supabase table.
- Open the block’s Source tab and select your Supabase integration.
- Select the database and schema you want to connect.
- Pick the table you want to use, or add a new query.
- Optional: select the primary field.

Map Supabase fields to item fields
Choose which Supabase properties the block shows, and map each one to a Softr field. For example, show an email column as an Email field. Show a column that holds image URLs, such as Avatar URL, as an Image field.

Use Supabase in workflows and agents
Workflows and agents can find, add, update, and delete records in Supabase with the actions of the SQL group, or run a custom SQL query.
Actions
| Action | What it does |
|---|---|
| Find record | Looks up the first record that matches your conditions. |
| Find multiple records | Returns every record that meets your criteria. |
| Add record | Creates a new record when a workflow runs. |
| Update record | Changes a single record. |
| Update multiple records | Updates many records at once. |
| Delete record | Removes a single record. |
| Delete multiple records | Removes a batch of records at once. |
Good to know
- Databases, schemas, tables and fields load live from your connected project.
- Use a custom SQL Query for anything the standard actions do not cover.
FAQ
Which plan do I need for Supabase?
Supabase is available on Pro and higher plans.
Which credentials does Softr need?
Softr needs the PSQL credentials of your Supabase project: Host, Database, Port (default 5432), User and Password. Find them under Session Pooler in the project Connect settings.
What pool size should I set in Supabase?
Set the pool size to 45 or greater, so your database supports several Softr connections at once.
Do I need to allow Softr's IP addresses?
Only if you restrict IP addresses in Supabase. Then add 3.120.79.212, 3.123.159.186 and 52.58.246.121 to your allowed list.