Deploy to Vercel

Deploy your SaaSInMinutes app to Vercel in minutes. Vercel is the recommended hosting platform for Next.js apps.

Step 1: Install Vercel CLI

1npm install -g vercel

Step 2: Deploy

1vercel

Follow the prompts to deploy your app. Vercel will automatically detect your Next.js app and configure it.

Step 3: Add environment variables

Add your environment variables in the Vercel dashboard:

  1. Go to your project in Vercel
  2. Navigate to Settings → Environment Variables
  3. Add all variables from your .env.local file
  4. Redeploy your app

Step 4: Custom domain (optional)

Add a custom domain in the Vercel dashboard:

  1. Go to Settings → Domains
  2. Add your domain
  3. Follow the DNS configuration instructions
  4. SSL certificate will be automatically provisioned

Automatic deployments

Connect your GitHub repository for automatic deployments:

  1. Push your code to GitHub
  2. Import your repository in Vercel
  3. Vercel will automatically deploy on every push to main
  4. Preview deployments are created for pull requests

🎉 Congratulations!

Your app is now live on Vercel! Check out the custom domain guide to add your own domain.