> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# build

> Build your site with the Base44 app ID injected

Runs your project's build command with your linked app's ID set as an environment variable, so the compiled frontend bundle connects to your Base44 backend. Use it when you want to keep the build and deploy steps separate, such as in a multi-stage CI pipeline or when you want to review the output before uploading.

<Tip>
  To build and deploy in a single step, use [`deploy --build`](/developers/references/cli/commands/deploy) instead.
</Tip>

## Usage

```bash theme={null}
base44 build
```

## See also

* [`deploy`](/developers/references/cli/commands/deploy): Deploy all project resources, with an optional `--build` flag to build first
* [`site deploy`](/developers/references/cli/commands/site-deploy): Upload already-built site files to Base44 hosting
* [Project structure](/developers/backend/overview/project-structure): `config.jsonc` reference
