What Supabase enables
When you connect Supabase, you can:- Respond with real data from your database - query tables with filters so the agent does not hallucinate or request information that already exists
- Register business events immediately - insert rows when the conversation creates a lead, order, request, or any relevant event
- Update operational states - change columns (order status, onboarding stage, verification result) based on what happens in the flow
- Run centralized business logic - call PostgreSQL RPC functions for calculations, validations, or transactions that should not live in the flow
- Explore structure before acting - list tables and review columns so the agent knows where to write
Installation
Prerequisites
- An active Supabase project (hosted) with the tables and functions you plan to use.
- The two values requested by the Brain Studio modal, from that same project:
- Supabase url
- Api Key
- RLS (Row Level Security) policies and permissions aligned with what the flow should be allowed to do with the configured key.
How to get credentials
To connect Supabase in Brain Studio, you need two project values:- Supabase url - the project URL, also shown in Supabase as Project URL
- Api Key - a public key for project API access
Copy the Supabase url
https://<your-project>.supabase.co) and paste it into the Supabase url field in Brain Studio.Copy the correct Api Key
anonpublic key if your project uses legacy keys- Publishable key (
sb_publishable_...) if your project already uses the new key model
Verify permissions and RLS
How to connect it
The most direct way is to use Jelou Agent: describe what you need and the agent connects Supabase automatically inside the flow. If you prefer manual installation, open Marketplace and follow these steps with the URL and API Key from the previous section.Open Marketplace
Find Supabase
Fill Supabase url and Api Key
service_role or secret keys for this use case).Confirm installation
Available tools
This integration exposes 7 tools in Brain Studio. Names match the node editor. JSON examples are illustrative: always confirm exact fields in the tool panel.List tables
List tables
Describe table
Describe table
Query table
Query table
Insert row
Insert row
data object with columns and values.Illustrative example:Update row
Update row
data with fields to update.Illustrative example:Delete row
Delete row
Call RPC function
Call RPC function
How to use in Brain
With Supabase, the usual pattern is to use AI Agent when the flow must dynamically decide what to query/update, and Canvas when the process follows a fixed sequence, for example: query record -> validate state -> update row -> notify.In AI Agent
Use it when conversation is open-ended: the user may ask for data, create a record, or trigger a function without a fixed script. The agent chooses the tool within the subset you enable.Open the AI Agent node
Open Tools
Add Supabase
Configure tools
In Canvas
Use it when the process is deterministic: for example list tables -> describe -> query -> branch -> insert or update, with explicit validation between nodes.Drag Supabase into Canvas
Select the tool
Configure body and memory
Connect the flow
Use cases
Lead capture and record creation directly in your database
Lead capture and record creation directly in your database
leads with name, email, and source channel. Sales sees it on their dashboard immediately.Ideal for: digital products, startups, and teams that use Supabase as their primary database and want to avoid data duplication in other systems.Personalized conversations with user data
Personalized conversations with user data
orders by email, finds the most recent order, and replies with status, ETA, and tracking number.Ideal for: SaaS, ecommerce, onboarding, and any flow where user context improves response quality.Operational state changes from conversation
Operational state changes from conversation
status to “delivered” in Supabase. Operator dashboard and automated notifications update immediately.Ideal for: operations, fulfillment, customer success, and processes with transactional state changes.Centralized business logic with RPC functions
Centralized business logic with RPC functions
get_credit_score with user ID. PostgreSQL executes logic (history query, score calculation, constraints), then returns the result.Ideal for: fintech, scoring, pricing, complex validations, and products with core logic in PostgreSQL.Integrations that pair well with Supabase
Slack
Slack
Gmail
Gmail
Google Sheets
Google Sheets
HubSpot
HubSpot