Deployment

ShiftKit is designed to deploy on Vercel with zero configuration.

Deploy to Vercel

1. Push to GitHub

git remote add origin https://github.com/your-org/your-saas.git
git push -u origin main

2. Import in Vercel

Go to vercel.com/new, import your repository, and Vercel will auto-detect the Next.js framework.

3. Set environment variables

In your Vercel project settings, add all variables from .env.local. Use the Vercel CLI or dashboard:

vercel env add WORKOS_API_KEY
vercel env add STRIPE_SECRET_KEY
# ... add all variables from env.example

4. Deploy

Vercel deploys automatically on every push to main. Preview deployments are created for pull requests.

Convex Setup

Initialize Convex for your project:

npx convex init
npx convex deploy

Set NEXT_PUBLIC_CONVEX_URL in Vercel to your Convex deployment URL.

Custom Domain

In Vercel project settings, add your custom domain. Update NEXT_PUBLIC_APP_URL in your environment variables.

Production Checklist

  • All environment variables are set in Vercel
  • Convex deployment is running
  • Stripe webhooks point to your production URL
  • WorkOS redirect URIs include your production domain
  • OG image is uploaded to public/og-image.png