CommunityHire an ExpertSign Up
Data SourcesSupabase
Data Sources

Supabase

Connect Supabase to your Softr apps to interact with your data.

Supabase is a powerful open-source backend-as-a-service platform that allows you to store, manage, and query your data effortlessly. By integrating Supabase with Softr, you can seamlessly use your Supabase database in your Softr applications.

This integration allows you to:

  • Store and retrieve structured data dynamically

  • Use real-time updates in your Softr apps

  • Securely manage and scale your backend

1. Connect Supabase to Softr

To use Supabase in Softr, you need to connect your Supabase project as a data source.

Select your Supabase project

  1. Log in to Supabase and go to the dashboard.

  2. Click on the project you want to connect to Softr.

    Click on the project you want to connect to Softr

    Click on the project you want to connect to Softr

Configure project settings

  1. Click the Connect button at the top of the project settings page.

    Click on Project settings in the bottom left menu

    Click on Project settings in the bottom left menu
  2. Change the Type to PSQL.

  3. Open the View parameters dropdown under the Session Pooler section.

    Click on the Database tab under Configuration

    Click on the Database tab under Configuration

Copy your supabase credentials

  1. Locate the Configuration Parameters section.

  2. Copy and securely store the following credentials:

    • Host

    • Database

    • Port (default is 5432)

    • User

    • Password (usually the project password)

      Find the Connection parameters section and copy down the credentials

      Find the Connection parameters section and copy down the credentials

Set the Pool Size

Setting the pool size ensures your Supabase database can support multiple connections from Softr at the same time. You set this number to 45 or greater.

  1. Click on Project Settings

  2. Click on Database

  3. Type in the pool size number (should be 45 or greater)

  4. Click Save

Pool size field in the Supabase Database settings

Connect Supabase to Softr

  1. Log in to Softr and open the Softr Studio dashboard. Click Integrations in the left menu.

  2. Click Connect new.

The Integrations page of the dashboard, with the Connect new button

  1. In the Select an integration window, click Supabase.

The Select an integration window, with Supabase selected

Enter your Supabase credentials in Softr

  1. Copy and paste your Supabase credentials into the matching fields in Softr:

    • Host
    • Port (5432 by default)
    • Database
    • User
    • Password
  2. Enter a Name for your connection. This name is optional.

  3. Click Connect.

The Connect to Supabase database window, with the Host, Database, User and Password fields and the Connect button

The Connect to Supabase database window, with the fields to fill in

Restrict IP Access (Optional)

If you need to restrict IP addresses inside Supabase, add Softr’s IP addresses to your allowed list:

  • 3.120.79.212

  • 3.123.159.186

  • 52.58.246.121

2. Connect your Supabase data to your Softr app

Once your Supabase account is connected, you can use it in any Softr application.

Connect your data to a dynamic block

To display your data in the app, connect a dynamic block (e.g. List, Grid, Table) to your Supabase table:

  1. Go to the Block source tab and select your Supabase integration.

  2. Select the database and schema you want to connect.

  3. Pick the table you want to use or add a new query

  4. Optionally, select the primary field.

The Source tab of a List block with the Supabase account, database, schema and table selected

Map Supabase fields to item fields

When you connect your table to a block, you can choose which Supabase properties to display and map to a Softr field. This lets you control how your data appears in Softr.

Example: If you have an email column in Supabase, show it as an Email field in Softr. If a column holds image URLs, such as Avatar URL, show it as an Image field.

The Content tab of a List block with the Avatar URL column shown as an Image field

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.