How to deploy a Bolt.new app

StackBlitz's in-browser AI builder; generates JavaScript web apps (commonly React + Vite) and can host them on Bolt or publish to Netlify.

Short answer

Easiest: Netlify. Cheapest: Cloudflare Pages. Database: Supabase. Login: Supabase Auth. Copy your environment variables into the host before the first build, and add the new URL to your auth provider.

Easiest

Netlify

One-click publish to Netlify from inside Bolt.

Cheapest

Cloudflare Pages

Free static hosting with unlimited bandwidth.

What Bolt.new gives you

Usually a Vite-based JavaScript app (React is common). Data via Bolt's built-in database or Supabase.

Built-in hosting

Bolt hosting publishes to a .bolt.host address on every plan.

  • Free: Free plan: 300K tokens/day (1M/month), website hosting with Bolt branding, up to 333k web requests, unlimited databases.
  • Custom domain: Custom domains need Pro ($25/month; 10M tokens/month, up to 1M web requests, no branding). Custom domain cost & setup for every builder

First: which kind of project do you have?

Type How to tell What the host needs
Vite single-page app (most projects) vite.config.* in the project, build output dist/. Any static host plus an index.html fallback for client-side routes.
Framework with a server (e.g. Next.js, Astro SSR) next.config.* or an SSR adapter in the config. Vercel / Netlify / Cloudflare with framework support.

Get your code out

  • Built-in: Project settings → Domains & Hosting → Hosting Provider → Netlify → Publish (custom domains don't carry over automatically).
  • Download the project as a .zip, or push it to GitHub, then import into any host.

Build settings

Build command
npm run build
Output
dist (Vite)
Node
Use the version in package.json engines, or current LTS

Environment variables to copy

  • VITE_SUPABASE_URL / VITE_SUPABASE_ANON_KEY (if using Supabase — names may differ; check your .env)

Blank page after deploying?

Gotchas

  • The .env file in Bolt isn't uploaded to your host automatically; re-enter variables in the host dashboard and rebuild.
  • Vite only exposes variables prefixed VITE_ to the browser.

Step-by-step guides for Bolt.new

Database & login

Data: Supabase (opens in a new tab): Free: 500 MB database, 50,000 MAU, 5 GB egress, 1 GB file storage, 2 active projects. Compare databases · Which database to pick

Auth: Supabase Auth (opens in a new tab): Free: 50,000 MAU, social OAuth, anonymous sign-ins, basic MFA.

Common errors with Bolt.new apps

Related guides

Common questions

What is the easiest way to host a Bolt.new app?

Netlify. One-click publish to Netlify from inside Bolt.

What is the cheapest way to host a Bolt.new app?

Cloudflare Pages. Free static hosting with unlimited bandwidth.

Does Bolt.new have built-in hosting?

Bolt hosting publishes to a .bolt.host address on every plan. Free plan: 300K tokens/day (1M/month), website hosting with Bolt branding, up to 333k web requests, unlimited databases.

Can I use a custom domain with Bolt.new?

Custom domains need Pro ($25/month; 10M tokens/month, up to 1M web requests, no branding).

What build command and output folder does a Bolt.new app use?

Build command npm run build; output: dist (Vite).