Supabase
Connect
Connect Supabase from the terminal. Pass --help for the flags Supabase accepts, plus --no-browser for headless environments.
polylane cloud connect --provider supabaseOAuth authorization, or a personal access token from your Supabase account settings.
Supabase connects via OAuth: click Connect with Supabase, authorize read access on Supabase, and you're redirected back with syncing already started. Tokens are encrypted before they are stored, and the agent never sees them.
Personal access token alternative
If you prefer a long-lived credential, connect with a personal access token instead:
- Open Supabase, go to Account → Access Tokens.
- Click Generate new token and copy the token (it starts with
sbp_). - Paste the token into Polylane.
- Polylane validates the token and starts syncing.
Polylane discovers your projects with their edge functions, database branches, and storage buckets, including status, region, and compute size.
Troubleshooting
"Invalid access token" error
- Check that the token has not been revoked in Supabase's account settings.
- Personal access tokens act with your account's permissions; make sure your account can access the organization.
Missing resources
- Supabase can take a few minutes to sync everything.
- Paused (inactive) projects are listed, but their edge functions, branches, and buckets are only synced while the project is active.
- Trigger a manual Sync from the account header to refresh.
Disconnecting
Disconnect the account in Polylane, then revoke the access token from your Supabase account settings.
Tools
4Operations agents can perform in threads and automations.
Supported resources
13Resource types that show up in your infrastructure graph.
Automation triggers
4Events from Supabase that can start an automation.
Automation templates
1Pre-built automations that use Supabase. Open one to see its trigger, instructions, and actions.