FruxonDocs

Supabase

Supabase integration for database queries, user authentication, and file storage

The Supabase integration lets your agents query database tables via PostgREST, manage users in Supabase Auth, and work with file storage buckets.

Prerequisites

You need:

  • Project URL — Your Supabase project URL (e.g., https://xyzcompany.supabase.co). Find this in your Supabase Dashboard under Settings > API.
  • API Key — Either the anon key (respects Row Level Security) or service_role key (bypasses RLS, required for Auth admin tools). Found in the same API settings page.

Setup

  1. Open Integrations from the sidebar
  2. Select Supabase from the catalog
  3. Click Add Integration Config
  4. Give the config a display name (e.g., "Supabase - My Project")
  5. Enter your Project URL
  6. Enter your API Key (use service_role key if you need Auth admin tools)
  7. Save the config

Using in Your Agent

  1. Open your agent in Agent Studio and select an Agent Step
  2. Under Attached Integration Configurations, click Attach configuration and choose your config
  3. Attach Supabase tools from the tools panel
  4. Tools are referenced as supabase.list_rows, supabase.create_user, etc.

Available Tools

Database (PostgREST)

ToolDescriptionAction Type
list_rowsQuery rows from a table with optional filtering, sorting, and paginationReadOnly
get_rowGet a single row by primary key column and valueReadOnly
insert_rowInsert a new row into a table (supports upsert)Reversible
update_rowsUpdate rows matching a filter conditionReversible
delete_rowsDelete rows matching a filter conditionIrreversible
call_rpc_functionCall a PostgreSQL function via RPCReversible

Auth (User Management)

ToolDescriptionAction Type
list_usersList all users with pagination (requires service_role key)ReadOnly
get_userGet a specific user by ID (requires service_role key)ReadOnly
create_userCreate a new user (requires service_role key)Reversible
update_userUpdate a user's email, password, or metadata (requires service_role key)Reversible
delete_userDelete a user (requires service_role key)Irreversible

Storage

ToolDescriptionAction Type
list_bucketsList all storage bucketsReadOnly
list_objectsList files in a bucket with optional prefix filteringReadOnly
delete_objectsDelete one or more files from a bucketIrreversible
create_signed_urlCreate a temporary signed URL for private file accessReadOnly

On this page