Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Setting Up Supabase Storage
On this page

Setting Up Supabase Storage

Connect Media Cloud to a public Supabase Storage bucket using your project URL and service role key.

2 min read·3 tags

Supabase Storage is a managed object storage service built on Postgres and S3-compatible primitives. Media Cloud’s Supabase driver talks to Supabase’s Storage API directly.

Supabase Storage support is labeled Beta in Media Cloud.

Limitations

  • No ACLs. Files are public or private based on the bucket, not per-file ACLs. Media Cloud cannot change the privacy of individual files.
  • No pre-signed URLs. The pre-signed URL settings are hidden for this provider.
  • No direct uploads. Uploads go through WordPress and are then copied to Supabase.
  • Use a public bucket if you want Media Cloud’s URLs to work without additional authentication.

Before you start

You need:

  • A Supabase project.
  • A storage bucket.
  • The project URL.
  • The service_role key.

Step 1 – Create a public bucket

  1. Open your Supabase project.
  2. Go to Storage.
  3. Create a bucket for Media Cloud.
  4. Make the bucket public.

Step 2 – Copy the project URL and service key

  1. Open Project Settings → API.
  2. Copy the Project URL, for example https://abcdefghijklm.supabase.co.
  3. Copy the service_role key from the project API keys section.

The service role key bypasses row-level security. Keep it private and only enter it in the WordPress admin.

Step 3 – Configure Media Cloud

  1. Go to Media Cloud → Settings → Cloud Storage.
  2. Set Storage Provider to Supabase Storage.
  3. Fill in the provider settings:
FieldValue
Supabase Storage URLhttps://<project-ref>.supabase.co
Keyservice_role key
BucketBucket name
  1. Turn on Enable Cloud Storage.
  2. Save and run Media Cloud → System Compatibility.

Upload handling

Supabase’s driver exposes only the provider settings; upload privacy and cache options are not available. Files inherit the bucket’s public/private setting.

Troubleshooting

ProblemLikely cause
401 or 403 from SupabaseThe key is not the service_role key, or the project URL is wrong.
Uploads succeed but files are not publicly readableThe bucket is private. Make it public or serve files through Supabase policies.
Storage tool will not enableThe project URL, service key, or bucket name is empty.
Direct upload setting does not workSupabase does not support direct uploads in Media Cloud.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →