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
- Go to Settings → Integrations → Supabase
- Click Connect
- In Supabase dashboard, go to Settings → API
- Copy your Project URL
- Copy the service_role key (for admin operations)
- 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
| Action | Description |
|---|---|
| Query table | SELECT with filters |
| Insert row | Add new record |
| Update row | Modify existing record |
| Delete row | Remove record |
| Upsert row | Insert or update |
| Run SQL | Execute raw SQL query |
| List tables | Get database schema |
Authentication
| Action | Description |
|---|---|
| List users | Get all auth users |
| Get user | User details by ID |
| Create user | Add new user account |
| Update user | Modify user metadata |
| Delete user | Remove user account |
| Reset password | Send reset email |
| Disable user | Ban user account |
Storage
| Action | Description |
|---|---|
| List buckets | Get storage buckets |
| List files | Files in a bucket |
| Upload file | Add file to storage |
| Download file | Get file content |
| Delete file | Remove file |
| Get signed URL | Temporary 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 verificationData 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 neededStorage 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)