# SaaS on Vercel and Supabase

> The most common stack for new SaaS. Pagerless covers both halves: roll back the deploy on Vercel, restart or add compute on Supabase.

URL: https://pagerless.dev/solutions/saas-on-vercel-supabase
Updated: 2026-10-22

## Set up

```bash
npx pagerless connect
```

It adds the Next.js instrumentation file and puts the key in Vercel. Then connect Vercel and Supabase in the app with access tokens so fixes can run.

## Who's to blame, in plain words

Calls to Supabase are tagged by name in the SDK, so the diagnosis can say "Supabase is timing out" instead of "500 on /api/projects", and offer a restart rather than a rollback that wouldn't help.

| Where | Fixes |
| --- | --- |
| Vercel | Roll back to the previous deployment; redeploy |
| Supabase | Restart the project; add compute (billed, so it always asks) |
