Supabase

Learn how to use Doppler with your Supabase projects

This guide is designed to get you set up with syncing your secrets to Supabase. We assume you already have a project created on Supabase.

Prerequisites

  • You have an account setup at Supabase and have a project created.

Supabase Access Token

Go to your Supabase token creation page and click the Generate new token button.

Next, name your token "Doppler" (or whatever else you like), and click the Generate Token button.

You'll need this API token in the next step.

Authorization

In your Doppler project, navigate to Integrations and select Supabase:

Set the Name to anything you like (this will be used to help you identify this sync when viewing the integrations for this config) and paste the access token you created in the previous step into the Access Token field. Then click Connect.

You have now successfully connected your Supabase account with Doppler!

Configuration

Next, you can select which Supabase project you would like to sync to along with which Doppler config you want to sync over.

Click Set Up Integration and you're all set!

The secrets from your selected config will be immediately and continuously synced with your Supabase project. You can view them by running supabase secrets list and access them inside your edge functions as described here.

👍

Amazing Work!

Now you are all set up on Supabase. The next time you deploy your secrets will be fetched from Doppler.