Supabase Integration
Connect Supabase projects and choose which database tables Brief can query in chat.
Connect one or more Supabase projects to ask Brief questions about their database tables. Brief can list accessible tables, describe columns, and run read-only SQL for counts, trends, and other analysis. Queries run when you ask; there is no initial data import.
Connect projects and choose tables
- Open Integrations, find Supabase, and select Connect.
- Authorize Brief in Supabase. Review the requested permissions before approving.
- On Select Supabase Projects, select one or more projects. The screen recommends a read replica or analytics database over a production instance.
- Select Next: Choose Tables (the button shows your selected project count).
- For each project, review the discovered tables in its
publicschema. All found tables start selected; deselect any you do not want Brief to query. To connect a project, keep no more than 100 tables selected. If more than 100 are found, deselect enough to stay within that limit before connecting. Select Next Project to move through multiple projects. - On the final project, select Connect N Projects, where N is your selected project count.
After setup closes, check the connected project cards in Integrations. If a selected project is missing, select Connect on the Supabase provider card and try that project again.
At least one table must remain selected when tables were found. If no tables appear, the screen says the project will connect without table restrictions. An empty list can also mean table discovery failed. Check that Brief can access the project and that its public schema has visible tables before continuing without restrictions.
Permissions and query access
Supabase database read permission is needed for schema information, and database write permission is needed for SQL execution through its Management API. The latter is required even for read-only SQL. Brief checks query shape and the tables named in each query against your selection (it does not follow views or database functions to other tables), sends SQL with read-only mode enabled, and limits returned rows and size. It accepts read-only SELECT, WITH, and EXPLAIN queries; changes to data are rejected. Query results are capped at 50 rows and 8,000 characters of serialized data, and a slow read can time out after 10 seconds.
Try asking “How many users signed up this week?” or “Which orders were placed yesterday?” Brief can inspect the schema, then query tables available to both the connection and your selection. A connection made when no tables were discovered has no selection-based restriction.
Manage projects
Use the Supabase provider card in Integrations to connect additional projects. A workspace admin can view the database cards for connected projects. To change a project's table selection, ask an admin to select Disconnect on its card. Then connect the project again and make a new selection. Selecting an already connected project during setup does not update its tables.
Common problems
- No projects found: Confirm the Supabase account you authorized can access the intended project. If the setup session expired, reconnect Supabase from Integrations.
- No tables found: Check for visible tables in the project's
publicschema and confirm that Brief can access the project. A failed table lookup can also produce an empty list; verify access before accepting the unrestricted setup path. - Brief can describe tables but cannot query them: SQL execution needs Supabase's database write permission. Ask a workspace admin to reconnect Supabase and authorize the requested permission.
- A table is blocked: Check whether the table was selected when the project was connected. Ask a workspace admin to disconnect and reconnect the project with that table selected. If a selected table still cannot be queried, check the Supabase connection permissions.
- A query is slow or truncated: Ask for a narrower date range or a grouped result. Use a read replica or analytics project when available.
See PostgreSQL to connect directly to a database or all integrations for other sources.