Deploy to Vercel

This guide walks you through deploying your SvelteKit + Convex app to Vercel.


1. Create a new project

Navigate to your Vercel dashboard and click Add New…Project and import your Git repository.

2. Configure build settings

Set the following:

  • Project name: Your desired project name
  • Framework preset: Select SvelteKit
  • Build command: Override with npx convex deploy --cmd='vite build'
Vercel new project Build configuration

3. Add environment variables

Add these environment variables (get the values from your Convex production dashboard under URL & Deploy Key):

Environment variables configuration

4. Deploy

Click Deploy to start your first deployment.


Your app should now be live on Vercel. Future deployments will happen automatically when you push to your configured branch.