Connect your Meku projects to Supabase to add databases, authentication, and real-time APIs. The Supabase integration lets you manage data-driven full-stack apps without writing backend code. Meku connects directly through the generated React + Tailwind components.
The Supabase integration allows you to:
Meku uses the Supabase connection to generate code that’s production-ready and aligned with the database structure.




Once connected, Meku will store these keys securely and generate code using your schema and project configuration.

When Supabase is connected, you can instruct Meku to use your database directly in prompts.
Example prompts:
Meku will use your database schema to generate the correct queries, API hooks, and table components.
Meku automatically maps your Supabase credentials to environment variables when you export.
Example:
VITE_SUPABASE_URL=https://yourproject.supabase.co
VITE_SUPABASE_KEY=your_anon_key
VITE_SUPABASE_PROJECT_ID=project_idThese are included in your .env file for local development and automatically configured for Meku-hosted deployments.
You can add Supabase Authentication to any project by prompting Meku: “Add Supabase authentication with email and password login.”
Meku generates:
This setup works instantly once your project is linked to Supabase.
Access Supabase Storage directly from your Meku project.
Prompt example:
“Create an image upload component using Supabase Storage.”
Meku will generate upload functions, previews, and file path references connected to your Supabase bucket.
To remove Supabase integration:
You can reconnect later without losing any project files.
Following these practices ensures stable and secure integration with Supabase.