Docs / Hosting

Hosting

Learn how to deploy your template to Vercel for production.

This guide will walk you through deploying your template to Vercel, the platform built by the creators of Next.js.

Prerequisites

Before deploying, ensure you have:

  1. A GitHub account
  2. A Vercel account
  3. Your project pushed to a GitHub repository
  4. All environment variables set up locally

Deployment Steps

Deploy via Vercel Dashboard

  1. Go to vercel.com/new
  2. Import your GitHub repository
  3. Configure your project:
    • Framework Preset: Next.js
    • Root Directory: ./
    • Build Command: next build
    • Output Directory: .next
  4. Add your environment variables
  5. Click “Deploy”