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 vercelStep 2: Deploy
1vercelFollow 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:
- Go to your project in Vercel
- Navigate to Settings → Environment Variables
- Add all variables from your
.env.localfile - Redeploy your app
Step 4: Custom domain (optional)
Add a custom domain in the Vercel dashboard:
- Go to Settings → Domains
- Add your domain
- Follow the DNS configuration instructions
- SSL certificate will be automatically provisioned
Automatic deployments
Connect your GitHub repository for automatic deployments:
- Push your code to GitHub
- Import your repository in Vercel
- Vercel will automatically deploy on every push to main
- 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.