Deploy
Deploying to Vercel
Deploy your Next.js + RivetKit app to Vercel.
Guide
Prerequisites
- Vercel account
- Access to the Rivet Cloud or a self-hosted Rivet Engine
- A Next.js app integrated with RivetKit
- See the Next.js quickstart or Next.js example to get started
- Your project should have the following files:
src/app/api/rivet/[...all]/route.tssrc/rivet/registry.ts
Deploy to Vercel
- Connect your GitHub project to Vercel
- Select your repository containing your Next.js + RivetKit app
- Vercel will deploy your app
More information on deployments are available in Vercel's docs.
Connect and Verify
- Visit the Rivet dashboard
- Navigate to Connect > Vercel
- Skip to the Deploy to Vercel step
- Input your deployed Vercel site URL
- e.g.
https://my-app.vercel.app/api/rivet
- e.g.
- Once it shows as successfully connected, click Done
Your Vercel Functions deployment is now connected to Rivet.