Overview
When you connect Seemodo Cloud, the AI gains access to:Database
Create tables, run queries, manage data, set up relationships.
Authentication
Configure auth providers, manage users, set up sessions.
Storage
Create buckets, upload files, configure access policies.
Edge Functions
Deploy serverless functions directly from the sandbox.
Setting Up
Prerequisites
You need a Supabase project with a Management API token:- Go to your Supabase Dashboard
- Navigate to Account → Access Tokens
- Create a new token with appropriate permissions
- Copy the token
Connecting Seemodo Cloud
Enter your credentials
- Project Reference: Your Supabase project ID (e.g.,
abcdefghijklmnop) - Management API Token: The token from your Supabase dashboard
Using Seemodo Cloud
After activation, simply ask the AI to work with your backend:Database Operations
Authentication
Storage
RLS Policies
How It Works
The AI uses the Model Context Protocol (MCP) to communicate with Supabase. This provides:- Type-safe operations: The AI knows exactly what’s possible
- Direct access: No intermediary API layer
- Real-time feedback: Immediate confirmation of changes
Best Practices
Always enable RLS
Always enable RLS
Ask the AI to enable Row Level Security on every table. It will create appropriate policies automatically.
Use descriptive names
Use descriptive names
Clear table and column names help the AI understand your data model.
Request migrations
Request migrations
For production apps, ask the AI to create migration files rather than direct schema changes.
Test policies
Test policies
After creating RLS policies, ask the AI to test them with different user scenarios.
Supabase Client Integration
When Seemodo Cloud is active, the AI automatically:- Creates
src/lib/supabase.tswith your client configuration - Uses environment variables for credentials
- Implements proper TypeScript types
src/lib/supabase.ts
The AI always uses
pnpm for package installation in the sandbox. If you see npm commands, the AI will automatically use pnpm instead.Troubleshooting
Connection failed
Connection failed
- Verify your project reference is correct (just the ID, not full URL)
- Check that your API token is valid and has necessary permissions
- Ensure your Supabase project is active (not paused)
Operations failing
Operations failing
- Check the Supabase dashboard for error logs
- Verify RLS policies aren’t blocking the operation
- Ask the AI to debug the specific error message
Missing tables
Missing tables
- Refresh the Supabase dashboard
- Tables are created in the
publicschema by default - Check if migrations are pending
Security Considerations
Token Permissions
Your Management API token should have these minimum permissions:- Database: Read & Write
- Auth: Read & Write (if using auth features)
- Storage: Read & Write (if using storage)
- Edge Functions: Read & Write (if deploying functions)
Data Privacy
- API tokens are stored in your browser’s localStorage
- Tokens are only sent to your Supabase project, not to Seemodo servers
- Clear cloud connection with the disconnect button when done