Setting up Convex Set the VITE_CONVEX_URL and CONVEX_DEPLOYMENT environment variables in your .env.local. (Or run npx convex init to set them automatically.) Run npx convex dev to start the Convex server.