How to Deploy on Vercel: 2026 Guide

Step-by-step Vercel deployment guide. GitHub, environment variables, custom domain, edge functions.

Vercel is the de-facto frontend host in 2026. This guide takes you from git push to custom domain.

Step 1 — Sign Up + Connect GitHub

vercel.com → Sign Up with GitHub. Grant repo access.

Step 2 — Import Project

"New Project" → Import Git Repository → select your repo. Framework auto-detects (Next.js, Vite, Astro, etc.).

Step 3 — Environment Variables

Settings → Environment Variables. Add Supabase URL, anon key, Stripe key — split into Production / Preview / Development scopes.

Step 4 — Custom Domain

Settings → Domains → add yours. Update DNS A record (76.76.21.21) or CNAME. SSL auto-issued via Let's Encrypt.

Step 5 — Preview Deployments

Every branch push gets a preview URL. Share with QA before merging.

Step 6 — Edge Functions

/api/route.ts becomes an Edge Function. Sub-30ms latency globally.

Is Vercel Free?

Yes — Hobby plan: 100GB bandwidth/month, unlimited static. Pro from $20/month.

Vercel vs Netlify

Vercel is Next.js native. Netlify more framework-agnostic. Either works.

Does Vercel Have Edge Nodes in Europe?

Yes — Frankfurt, Dublin, London. Sub-50ms latency for European users.

Next Step

Vercel vs Netlify comparison helps pick.

All guides

Related guides