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

# Publishing

> Get a permanent, always-online production URL

Kleap publishes your site for you — you get a permanent, always-online URL with no build step to manage.

## Automatic Publishing

Publishing is automatic. When a generation finishes, Kleap builds your site and deploys it live — no separate "deploy" step required.

<Info>
  Publishing and hosting are **free** and never consume credits. You can also re-publish manually anytime from the **Publish** button.
</Info>

## Your Production URL

Once published, your site is live at a permanent URL:

```
https://your-app-name.kleap.io
```

This URL:

* Is **always online** (24/7)
* Is **publicly accessible**
* Supports **HTTPS** automatically
* Is served on a **global edge network** for fast loading worldwide
* Can be **shared** with anyone

## Preview vs Production

| Aspect  | Preview              | Production          |
| ------- | -------------------- | ------------------- |
| Where   | In the Kleap editor  | `your-app.kleap.io` |
| Uptime  | While you build      | 24/7                |
| Access  | You (and your team)  | Public              |
| Purpose | Building and testing | Live visitors       |

<Info>
  The preview is a real build of your current files, so what you see is what visitors get.
</Info>

## Updating Your Site

After the initial publish:

1. Make changes in Kleap (or ask the AI)
2. Your changes are re-published automatically
3. The new version goes live within seconds

<Tip>
  Each publish creates a new version. Use [Version History](/features/version-history) to roll back anytime.
</Tip>

## Deployment Status

Track your deployment:

* **Building** — your site is compiling
* **Deploying** — uploading to the edge
* **Ready** — live and accessible
* **Error** — build failed (see the error and re-try)

If a deployment fails, the error is shown in the chat. Ask the AI to fix it, and it re-publishes automatically.

## Custom Domains & Going Further

<CardGroup cols={2}>
  <Card title="Custom Domains" icon="globe" href="/features/custom-domains">
    Connect your own domain with free SSL
  </Card>

  <Card title="Analytics" icon="chart-line" href="/features/analytics">
    Track your site's visitors
  </Card>
</CardGroup>

## Unpublishing

To take your site offline:

1. Go to **Settings**
2. Choose **Unpublish**
3. Your site is no longer publicly accessible

<Info>
  Unpublishing doesn't delete your site — you can republish anytime.
</Info>
