Skip to main content

Getting started

If you have not yet set up Trigger.dev in your project, go to the quick start guide.

Installation

npm install @trigger.dev/supabase

Supabase Quick Start

Get up and running with Supabase in just a few minutes.

Supabase Onboarding Emails

Example of how to send a welcome email drip campaign using Supabase and Trigger.dev

Introducing Supabase integration

Our deep-dive blog post announcing our Supabase integration

Self-hosting

Learn how to self-host Trigger.dev on your own Supabase database.

Usage

Our Supabase package supports two different integrations: One for the Supabase Management API and one that wraps the @supabase/supabase-js client.

Management API

The Management API is used to manage your Supabase organization, projects, and databases. It can also be used to trigger jobs based on changes in your Supabase database. Works with OAuth or Personal Access Tokens.

Supabase Client

Wraps the @supabase/supabase-js client to make it easy to use Supabase in your jobs to run queries against your database and access other functionality, like auth, storage, and functions. Works with your Supabase service_role key.

Example jobs

Code examples

Check out pre-built jobs using Supabase in our API section.