Supabase Integration
Supabase Integration
If you require a powerful PostgreSQL database with built-in Auth, Realtime capabilities, and advanced relational features, BYOB offers deep, native integration with Supabase.
Secure Connection via Prim
In traditional development, you would manually copy PUBLIC_SUPABASE_URL and PUBLIC_SUPABASE_ANON_KEY into local .env files.
BYOB is much more secure. We do not store sensitive database credentials in plain text .env files within your workspace container. Instead, all environment credentials are saved exclusively in secure storage via Prim (our central secure control plane).
Connecting Supabase
To link a Supabase project, open the Project Control Center (via the Settings button) and navigate to the Data & Auth tab.
Under the Database connection section, simply click Connect Supabase. BYOB will securely authenticate and bind the Supabase instance to your project. The credentials will be safely managed in the background, allowing the AI and your SvelteKit server to access the database instantly without exposing keys.
Switching database providers later is not automatic. Plan your migration first.