Guides / Stacks
Launch a SaaS on Vercel, Supabase, Namecheap and Stripe
This is the full setup for a product hosted on Vercel with Supabase as the database, a domain from Namecheap, sign-in built into the app, Stripe for payments, Resend for email and no AI provider.
What this stack is
- Hosting: Vercel (needs a separate database. no background workers)
- Database: Supabase (postgres in its own project, pooled connection)
- Domain registrar: Namecheap (needs a whitelisted ip and account balance)
- DNS and CDN: Cloudflare
- Transactional email: Resend
- Mailbox for the domain: Forward to my inbox (cloudflare email routing, forward-only)
- Payments: Stripe (starts in test mode)
- Analytics: Google Analytics 4
- Search: Google Search Console
- Error tracking: Sentry
- Auth: Built into the app (email and password, sessions in postgres)
- File storage: Cloudflare R2 (s3-compatible, no egress fees)
- AI provider: None
- Code: GitHub (required)
The 9 accounts you connect once
Each is connected with a token you create yourself. Tokens stay in your computer's keychain.
- GitHub: Administration: Read and write; Contents: Read and write; Metadata: Read-only
- Vercel: A token scoped to one team, or to your personal account
- Supabase: A personal access token
- Cloudflare: Zone: Zone: Edit; Zone: DNS: Edit; Account: Registrar: Domains: Admin; Zone: Email Routing Rules: Edit; Account: Email Routing Addresses: Edit; Account: Workers R2 Storage: Edit; Account: API Tokens: Edit
- Namecheap: API access (account-wide)
- Resend: Full access
- Stripe (test mode): Products, prices and coupons; Webhook endpoints; Customers and events; Checkout sessions and subscriptions
- Google (Analytics and Search Console): analytics.edit; siteverification; webmasters
- Sentry: project:read, project:write; project:admin; team:read, org:read
Before your first launch
Do these once at the providers, or a step will stop and tell you which one is missing.
- GitHub: If your repos live in an organisation: allow fine-grained tokens there (Organisation settings, Personal access tokens, Allow access via fine-grained personal access tokens). Without it the token cannot see the organisation.
- Vercel: Install the Vercel GitHub app on the account that owns your repos, with access to all repositories, so Vercel can deploy from them.
- Vercel: A product that takes money needs the Pro plan. The free Hobby plan is for non-commercial projects only.
- Supabase: Create an organisation if you have none. The free plan allows two active projects: pause or delete one if you already have two.
- Cloudflare: Add a card and make it the default payment method.
- Cloudflare: Switch R2 on once. It uses the card above; the first 10 GB are free.
- Namecheap: Namecheap only enables the API for accounts with at least 20 domains, or $50 balance, or $50 spent in the last two years. Top up if you have none of these.
- Namecheap: API purchases are paid from account balance: top up enough to cover the domain.
- Namecheap: Set a default address. It is used as the registrant contact.
- Resend: The free plan holds one domain. If you already have one there, remove it or move to a paid plan, or the new domain is refused.
- Stripe (test mode): Nothing for test mode. To take real payments later, finish Stripe's business verification; it can take a day or more, so start it now.
- Google (Analytics and Search Console): Create a Google Analytics account and accept its terms. Shipyard adds a property to it; it cannot create the account.
What a launch does, in order
- Checks the web address is free at Namecheap, shows the price and waits for you to type buy.
- Creates the DNS zone at Cloudflare and the GitHub repository.
- Creates the Vercel project and the Supabase project, and deploys on every push.
- Points the domain at the site and waits for the certificate.
- Verifies the sending domain at Resend and adds the DNS records for it.
- Creates the Stripe product, prices and webhook in test mode.
- Writes every key and ID into the host as environment variables, then checks the site, the database, email and the payment webhook.
- Hands your coding tool a build prompt that names this exact stack.
What stays manual
- GitHub: Creating the GitHub account and verifying its email.
- Vercel: Creating the Vercel account. A commercial product needs the Pro plan; the free Hobby plan is for non-commercial projects.
- Supabase: Creating the Supabase account and an organisation. The free plan allows two active projects and pauses a project after a week without use.
- Cloudflare: Creating the Cloudflare account and verifying its email.
- Cloudflare: Clicking the confirmation link Cloudflare emails to your inbox before it forwards mail there.
- Namecheap: Namecheap only enables the API for accounts with at least 20 domains, or $50 balance, or $50 spent in the last two years.
- Resend: Creating the Resend account and verifying its email.
- Stripe (test mode): Creating the Stripe account.
- Stripe (test mode): Stripe business verification before live payments.
- Google (Analytics and Search Console): Creating the Google Analytics account and accepting its terms.
- Google (Analytics and Search Console): Google's review of the OAuth consent screen, if your app offers Google sign-in.
- Sentry: Creating the Sentry account.
- Product Hunt and every launch directory: you submit the post yourself. Shipyard prepares every field.
Start with this stack
After installing Shipyard, this one line opens the setup page with this stack already chosen:
shipyard start --stack S111100000000030Have 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