Skip to main content

Supabase

🔧 Credentials Configuration

To perform backups and restores for your Supabase project, you must correctly configure the required environment variables from the official Supabase dashboard at supabase.com


1️⃣ Get DATABASE_URL (Session Pooler)

  1. Go to supabase.com and open your project.
  2. In the top menu, click Connect.
  3. Select the Session Pooler connection method.
  4. Copy the connection URL.
  5. Assign this value to the DATABASE_URL variable in your .env file.
Supabase.com

2️⃣ Get SUPABASE_SERVICE_KEY (Service Role)

  1. Open your project in supabase.com.
  2. Go to Project Settings.
  3. Select API Keys from the sidebar.
  4. In the API Keys section, copy the Service Role key.
  5. Save it as SUPABASE_SERVICE_KEY in your .env file.
Supabase.com