Skip to content

Install pgflow

Let’s set up pgflow in your Supabase project. This setup needs to be done only once per project.

  1. Run the installer with npx:

    npx pgflow@latest install

    Want to understand what’s happening? See the manual installation guide.

  2. Restart your Supabase instance to apply the configuration changes:

    npx supabase stop
    npx supabase start
  3. Apply the migrations to create the pgflow schema and tables:

    npx supabase migrations up

Your Supabase project now has everything needed to create and run flows with pgflow!

Run the Example

See pgflow in action in 5 minutes using the scaffolded GreetUser flow.

Quickstart

For single-step tasks without orchestration, see background jobs.

Chat with Author