# Host a Lovable or Bolt app

Your Lovable or Bolt app online on your own domain, from the code it made: your AI agent adds a Dockerfile and puts it on Estiba, and a site that sleeps without visits costs cents a month.

## Get the code

- **Lovable**: connect the project to GitHub (Git sync, on every plan), or, on a paid plan, use **Download codebase**. See [Lovable's guide to hosting elsewhere](https://docs.lovable.dev/tips-tricks/external-deployment-hosting).
- **Bolt**: click the project's title, then **Export** and **Download**, for a ZIP of the project, or connect it to GitHub. See [Bolt's backups page](https://support.bolt.new/building/using-bolt/rollback-backup).

Unzip it, or clone it, on your computer.

## Put it online

1. [Sign up](https://app.estiba.cloud) and [connect your agent](https://estiba.cloud/docs/connect-your-agent) to Estiba, once.
2. Ask it, in the project's folder: "put this app online on Estiba".
3. Your agent writes the `Dockerfile` the project needs and sends the code; Estiba builds it and starts it:
   - **A site built with Vite** (most Lovable apps made before May 2026, and most Bolt apps): `npm run build` makes the site in `dist/`, and a small web server, such as nginx, serves it.
   - **An app that runs server code** (Lovable apps made with TanStack Start, from May 2026): the build makes a server, which the container starts.
4. [Add credit](https://estiba.cloud/docs/credit-and-prices), from $5. The app starts once there is credit.
5. Ask it to put the app on [your domain](https://estiba.cloud/docs/domains): it tells you the DNS record to create, and HTTPS is automatic.

## Supabase and variables

Most of these apps keep their data in Supabase, which stays where it is: the app on Estiba talks to it as before.

Variables that start with `VITE_`, such as the Supabase address and its publishable key, go into the site when it is built, so they stay in the project's files; they are meant to be public. Real secrets, such as a service-role key or a payment key, never go in the site: they belong in Supabase's own secrets or in a server, where your agent stores them as secrets on Estiba, encrypted and never shown again.

## Change it later

Keep building in Lovable or Bolt. When you want the new version online, get the code again and ask your agent to deploy it. If the project is on GitHub, your agent can instead have it built there on every push and published as an image, which Estiba runs and updates by itself.

## What it costs

You pay for what the app really uses, measured every second: $4 per GB of memory and $8 per vCPU busy, a month, and $0.10 per GB kept in a volume, taxes included. Traffic is free.

A website with no visits for 5 minutes sleeps and costs nothing but its volume; the next visit wakes it. A small app awake 8 hours a day comes to about **$0.25 a month**; always on, about $0.69. The sums are in [Credit and prices](https://estiba.cloud/docs/credit-and-prices), and the dashboard shows what yours really uses.

If something does not work, see [My app doesn't work](https://estiba.cloud/docs/troubleshooting).
