Integrations

Supabase

Database queries, authentication management, and storage operations

The Supabase connector provides 23 actions for managing PostgreSQL databases, user authentication, and file storage.

Setup

Connect via API Keys

  1. Go to Settings → Integrations → Supabase
  2. Click Connect
  3. In Supabase dashboard, go to Settings → API
  4. Copy your Project URL
  5. Copy the service_role key (for admin operations)
  6. Paste both in Keva

Key Types

  • anon key: Public, client-side operations (limited)
  • service_role key: Full admin access (recommended for Keva)

Available Actions (23)

Database

ActionDescription
Query tableSELECT with filters
Insert rowAdd new record
Update rowModify existing record
Delete rowRemove record
Upsert rowInsert or update
Run SQLExecute raw SQL query
List tablesGet database schema

Authentication

ActionDescription
List usersGet all auth users
Get userUser details by ID
Create userAdd new user account
Update userModify user metadata
Delete userRemove user account
Reset passwordSend reset email
Disable userBan user account

Storage

ActionDescription
List bucketsGet storage buckets
List filesFiles in a bucket
Upload fileAdd file to storage
Download fileGet file content
Delete fileRemove file
Get signed URLTemporary access link

Use Cases

User Lookup

Customer: "I can't log into my account, email: jane@example.com"

AI:
1. Calls list_users(filter: email)
2. Finds user record
3. Checks: last_sign_in, email_confirmed
4. Reports: "Email not verified"
5. Offers to resend verification

Data Query

Customer: "How many orders did we have last month?"

AI:
1. Calls run_sql() with date range query
2. Returns: "1,247 orders totaling $45,230"
3. Can break down by status if needed

Storage Cleanup

Customer: "User uploaded wrong file, please remove it"

AI:
1. Calls list_files(bucket, path)
2. Identifies the file
3. Calls delete_file(bucket, path)
4. Reports: "File removed successfully"

Configuration

  • Project access: Supabase project URL
  • Database write: Enable/disable INSERT/UPDATE/DELETE
  • Auth management: Allow user administration
  • Storage write: Enable file upload/delete
  • SQL execution: Allow raw SQL queries (use caution)