IntegrationSupabase + TuSistema.AI
TuSistema.AI generates custom business apps for Latin American SMBs in ~20 minutes. When an owner publishes their app, TuSistema automatically provisions a dedicated Supabase project — Auth and Storage, fully configured, no manual setup required.
What's included
Auth
Each generated app gets its own Supabase project, created in the owner's account via the Management API. TuSistema configures the Site URL and redirect URLs, retrieves the API keys, and injects them into the app's Vercel deployment — all automatically.
Storage
File uploads, signed URLs, and public/private buckets. The iterator agent generates the storage code in the app's codebase following Supabase's best practices.
How the connection works
Owners connect their Supabase account in two clicks, directly from the TuSistema dashboard. No API keys to copy-paste.
- 1
Owner clicks "Activate authentication" in their published app's settings.
- 2
TuSistema redirects to Supabase's OAuth consent screen. The owner approves.
- 3
TuSistema uses the Management API token to create a new Supabase project in the owner's account (region: sa-east-1).
- 4
Auth is configured automatically: Site URL and redirect URLs are set to the app's production domain.
- 5
Credentials are injected into the Vercel project as environment variables. Vercel redeploys automatically.
What owners get
- ✓A dedicated Supabase project in their own account — they own the data.
- ✓Authentication ready on their production domain (*.tusistema.ai or custom domain).
- ✓Two user roles out of the box: admin (the owner) and customer (self-registered end users).
- ✓File storage configured and ready to use in their app.
- ✓Zero configuration — everything is handled by TuSistema at publish time.
Scope
The integration uses Supabase Auth and Storage. The app database runs on Neon (Postgres, São Paulo region) — Supabase Database is not used. The TuSistema.AI platform login remains on Clerk; only the generated apps use Supabase Auth.
Want to see it in action?
Try TuSistema.AI →