Supabase

Set up Supabase as an event-based data source.

Capture Supabase webhooks to get real-time data on every action your users take.

This guide walks through setting up Supabase as an event-based source. If you're looking to set up Supabase as a database source, follow our database setup guide instead.

Add Supabase as a source

Follow the steps (see the screenshots below).

  1. Tap into a workspace in your Velvet dashboard
  2. Navigate to "Data sources"
  3. Tap "Add a data source"
  4. Name your source “Supabase”
  5. Copy the Supabase webhook link

Add a data source.

Name your data source.

Copy the webhook link.

Capture webhooks from Supabase

If you get stuck, read further documentation from Supabase here.

  1. Navigate to the Database page in your Supabase dashboard.
  2. Select which table you want to set up a webhook from.
  3. Navigate to the webhooks tab. Click "Enable webhook" > "Create webhook".
  1. Enter a name for the webhook.
  2. Enter the operations you want to send the webhook for - INSERT, UPDATE, or DELETE.
  1. Under webhook configuration, select HTTP Request.
  2. Paste your Velvet webhook URL in the HTTP Request URL field.
  3. Tap “Create Webhook”.

Great job, you’ve connected Supabase as a data source. From this point on, we’ll create a queue of every event you’re sending from Supabase and collect them in your Velvet workspace.

Note: You'll need to send a webhook for each type of event you want to send from Supabase. Email [email protected] for tech support.

--

This guide walked through setting up Supabase as an event-based source. If you're looking to set up Supabase as a database source, follow our database setup guide instead.