Prerequisites
- A Veryfront project that runs with
veryfront dev. - Production credentials for providers, integrations, and deployment targets.
- For Veryfront Cloud:
VERYFRONT_API_TOKENand a project reference. - For self-hosting: the current Node.js LTS or a container host that can serve the build output.
Pick one production path
Choose one route or API boundary to verify across every stage.| Boundary | Add | Verify locally |
|---|---|---|
| Page | app/page.tsx or another route under app/ | Open the route in the browser |
| API route | app/api/<name>/route.ts | Run curl http://localhost:3000/api/<name> |
| Agent chat | Page plus app/api/ag-ui/route.ts | Send one message and confirm streamed output |
| Workflow or task trigger | API route or CLI command | Trigger one run and inspect the result |
Build
Create a production build:dist/ by default.
Customize the output directory in veryfront.config.ts:
Run the build locally
curl.
Deploy to Veryfront Cloud
veryfront open after deployment to open the project. Use
veryfront open --json when automation needs the deployed URL.
Set production environment variables
Set provider and integration credentials on the deployment platform:Deploy somewhere else
Self-hosted deployments can use the build output or a container:Verify it worked
Afterveryfront build:
dist/or your configuredoutDircontains compiled assets.veryfront serveserves the build locally.- The route you chose responds the same way it did in development.
veryfront deploy:
- The CLI confirms the deployed release and environment.
veryfront openopens the deployed project.- The same page, API route, agent, workflow, task, or run path works in production.
- The Cloud dashboard lists the deployment under the project.
Next
- Configuration: Configure build and environment behavior
- Providers: Configure model provider defaults
Related
- veryfront: Framework entrypoint
- veryfront/server: Server runtime APIs
- veryfront/observability: Runtime observability