---
title: Deploy a Bolt App with AI on Blossom
url: "/deploy/bolt/"
canonical_url: https://blossom88.com/deploy/bolt/
markdown_url: https://blossom88.com/deploy/bolt.md
summary: Deploy a Vite export from Bolt to Blossom's static hosting and ship updates
  from Git.
categories:
- deployment
- ai-built-apps
- vite
stack:
- JavaScript
- Vite
---

# Deploy a Bolt App with AI on Blossom

[Bolt](https://bolt.new/) builds web apps from prompts. Publish a Vite project
from your Bolt repository as a [Blossom Static Site](/docs/build/static/).

![The Bolt-built terminal explainer running on Blossom.](/deploy/assets/images/ai-builder-exports/bolt-home.webp)

![The deployed Bolt app explaining a command in the browser.](/deploy/assets/images/ai-builder-exports/bolt-explanation.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy my Bolt Vite app from this Git repository as a Blossom Static Site. Check the project folder, build output and browser workflow, then show me how to redeploy.
>
> Follow this guide: https://blossom88.com/deploy/bolt/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## Have Ready

- **Your Bolt source repository** (Required): Push your app code and lockfile to a Git repository.

## How It Runs

| Part | Role | Where |
|---|---|---|
| Vite | Builds the site | Blossom Builder |
| Built files | HTML, JavaScript and CSS | Blossom CDN |

## Get your code into Git

Connect GitHub from Bolt and push the app. Tell your agent which branch and
folder contain the app's `package.json`. For a private repository, connect
its Git provider in Blossom.
[Bolt integration walkthroughs](https://support.bolt.new/building/video-tutorials)

## Choose the build

> Find the app's build command and check that it generates a `dist` folder.

Use Static Site for an app that builds to browser files. A project with a
Node server follows the [Express guide](/deploy/nodejs-express/)
when its code uses Express.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

- Use the folder containing the Vite app as the repository subfolder.
- In a plain JavaScript export, mark the entry script with
  `type="module"` so Vite includes it in the build.
- If the browser uses an external backend, set its browser-safe `VITE_*`
  settings at build time. Keep server keys on the backend.
- Choose a generated Blossom URL first and add it to the backend's allowed
  origins or sign-in redirects when required.

</details>

## Deploy the site

> Build the Vite site on Blossom and open its generated HTTPS URL.

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom git_repo:create --data git_repo.yml
    blossom environment:build_config:update --id environment-100 --data build_config.yml
    blossom environment:deploy --id environment-100 --follow

Set `build_type: static` under `build_config` in build_config.yml.

</details>

## Use the app and publish again

> Open the deployed app, run its main browser action and redeploy from Git.

    blossom environment:deploy --id environment-100 --follow
    blossom release:list --environment environment-100

The tested [terminal explainer](https://github.com/AuroraBytesX/Terminal-Explainer)
loads on HTTPS and can explain a command using its browser fallback.
Your app gets a stable HTTPS URL and a repeatable release path from Git.

## What You Get

- Your Bolt app on a Blossom HTTPS URL
- Built assets served from Blossom's CDN
- Updates and release history from your Git repository

Tested on Blossom: A Bolt-built Vite app loaded over HTTPS and ran its local browser workflow after a second publication.
