Launch a SaaS on Vercel, Supabase, Cloudflare and OpenAI

This is the full setup for a product hosted on Vercel with Supabase as the database, a domain from Cloudflare Registrar, sign-in built into the app, Stripe for payments, Resend for email and OpenAI as the model your app calls.

What this stack is

The 9 accounts you connect once

Each is connected with a token you create yourself. Tokens stay in your computer's keychain.

Before your first launch

Do these once at the providers, or a step will stop and tell you which one is missing.

What a launch does, in order

  1. Checks the web address is free at Cloudflare Registrar, shows the price and waits for you to type buy.
  2. Creates the DNS zone at Cloudflare and the GitHub repository.
  3. Creates the Vercel project and the Supabase project, and deploys on every push.
  4. Points the domain at the site and waits for the certificate.
  5. Verifies the sending domain at Resend and adds the DNS records for it.
  6. Creates the Stripe product, prices and webhook in test mode.
  7. Writes every key and ID into the host as environment variables, then checks the site, the database, email and the payment webhook.
  8. Hands your coding tool a build prompt that names this exact stack, including the OpenAI key the app reads.

What stays manual

Start with this stack

After installing Shipyard, this one line opens the setup page with this stack already chosen:

shipyard start --stack S111000000000010

Have this set up for you

Shipyard connects your accounts once and then does all of this for every new product, in about an hour.

See how it works

Related guides

Launch a SaaS on Vercel, Supabase, Cloudflare and OpenAI – Shipyard