You can wire the Supabase node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.
Credentials
Connect Supabase under Credentials in the node settings. See Connecting credentials for the general flow.OAuth
Sign in with your Supabase account when prompted; no keys to copy. NoClick requests the following permissions:database:readdatabase:writeauth:readauth:writestorage:readstorage:writeedge_functions:readedge_functions:writesecrets:readprojects:read
API key
Enter the values manually when creating the credential. Get your credentials here.Operations
Auth
| Operation | ID | Description |
|---|---|---|
| Refresh Access Token | refresh_access_token | Refresh an expired access token using refresh token |
| Send Password Reset Email | send_password_reset_email | Send password reset email to user |
| Verify Otp Code | verify_otp_code | Verify OTP code sent via email or SMS |
Auth session
| Operation | ID | Description |
|---|---|---|
| Send Magic Link Signin | send_magic_link_signin | Send a magic link to user’s email for passwordless signin |
| Sign in with Password | sign_in_with_password | Sign in with email and password |
| Sign Out User | sign_out_user | Sign out the current user (requires user’s access token) |
Auth user
| Operation | ID | Description |
|---|---|---|
| Admin Create User | admin_create_user | Create a new user (admin operation, requires service_role API key) |
| Admin Delete User | admin_delete_user | Delete a user by ID (admin operation, requires service_role API key) |
| Admin List Users | admin_list_users | List all users (requires service_role API key) |
| Admin Update User | admin_update_user | Update a user by ID (admin operation, requires service_role API key) |
| Get Current User | get_current_user | Get current user details (requires user’s access token) |
| Sign Up User | sign_up_user | Sign up a new user with email and password |
| Update Current User | update_current_user | Update current user’s email, password, or metadata |
Function
| Operation | ID | Description |
|---|---|---|
| Call Database Function | call_database_function | Call a database function (RPC) |
| Invoke Edge Function | invoke_edge_function | Invoke a Supabase Edge Function |
Realtime
| Operation | ID | Description |
|---|---|---|
| Broadcast Realtime Message | broadcast_realtime_message | Send broadcast messages to a Realtime channel |
Storage
| Operation | ID | Description |
|---|---|---|
| Copy Storage File | copy_storage_file | Copy a file within or between buckets |
| Create File Signed Url | create_file_signed_url | Create a signed URL for temporary file access |
| Create Storage Bucket | create_storage_bucket | Create a new storage bucket |
| Delete Storage Bucket | delete_storage_bucket | Delete a storage bucket |
| Delete Storage File | delete_storage_file | Delete a file from storage |
| Download Storage File | download_storage_file | Download a file from storage |
| Empty Storage Bucket | empty_storage_bucket | Empty a storage bucket (delete all files) |
| Get File Public Url | get_file_public_url | Get public URL for a file in a public bucket |
| Get Storage Bucket | get_storage_bucket | Get bucket details |
| List Bucket Files | list_bucket_files | List files in a storage bucket folder |
| List Storage Buckets | list_storage_buckets | List all storage buckets |
| Move Storage File | move_storage_file | Move a file within or between buckets |
| Upload Storage File | upload_storage_file | Upload a file to storage |
Table
| Operation | ID | Description |
|---|---|---|
| Delete Table Rows | delete_table_rows | Delete rows matching filter conditions |
| Insert Table Rows | insert_table_rows | Insert one or more rows into a table |
| Select Table Rows | select_table_rows | Select/query rows from a table with filtering, ordering, and pagination |
| Update Table Rows | update_table_rows | Update rows matching filter conditions |
| Upsert Table Rows | upsert_table_rows | Insert rows or update if they already exist (based on primary key or unique constraint) |