BetterStarter logoBetterStarter
GuidesDeploy

Deploy to Netlify

Deploy BetterStarter to Netlify.

Docs are in beta — content is improving rapidly. Found something missing? Open an issue on GitHub or reach out on Twitter.

A netlify.toml is already included in the repo.

Steps

  1. Push your repo to GitHub
  2. Go to app.netlify.com/start and import the repo
  3. Add all environment variables in Site settings → Environment variables:
APP_BASE_URL=https://your-site.netlify.app
BETTER_AUTH_URL=https://your-site.netlify.app
BETTER_AUTH_SECRET=...
DATABASE_URL=...
# Add Stripe, Plunk, Google vars as needed
  1. Click Deploy

Netlify will run pnpm build automatically using the included config.

Custom Domain

Set APP_BASE_URL and BETTER_AUTH_URL to your custom domain after connecting it in the Netlify dashboard.

On this page