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

# Deploy & Go Live

> Publish your website to a live URL that anyone can access.

When your website is ready, deploying makes it publicly accessible. The site is hosted on a global edge network, so it loads fast from anywhere in the world.

## How to deploy

<Steps>
  <Step title="Click the Publish button">
    In the website header (above the preview panel), click the **Publish** button. A panel appears with deployment options.

    <Frame caption="The Publish button in the website header.">
      <img src="https://pub-51091dcf1e9d4b04bb2e74f489c4f346.r2.dev/e4fdbb9f5aa96e6005745154df87517b8d5153d2c7fa781da11d87d4669fd1d6.png" alt="Website header toolbar showing the Publish button alongside Preview, Dashboard, Refresh, and other controls" />
    </Frame>
  </Step>

  <Step title="Customize your subdomain">
    Your site gets a default subdomain like **bright-ocean-sparrow\.runable.site**. You can change this to something shorter or branded.

    <Frame caption="The subdomain customization field in the publish panel.">
      <img src="https://pub-51091dcf1e9d4b04bb2e74f489c4f346.r2.dev/723519e172a4135a56e6be82ffd173fc3af838298e05188967f4df09b6e97d7f.png" alt="Publish panel showing a text field for customizing the subdomain with .runable.site appended" />
    </Frame>
  </Step>

  <Step title="Set visibility">
    Choose whether your site is **public** (anyone with the link can access it) or **private** (restricted access).
  </Step>

  <Step title="Publish">
    Click **Publish**. The system builds your site, runs database migrations if needed, and deploys it. This takes up to a few minutes.

    Once deployed, your site is live at **[https://your-subdomain.runable.site](https://your-subdomain.runable.site)**.
  </Step>
</Steps>

<Note>
  Creating and deploying a website does not cost credits. Credits are only used if your website calls the AI gateway for AI-powered features.
</Note>

## Re-publishing after changes

When you make changes to your website in the chat, the changes are visible in the live preview but not on the deployed site. To update the deployed site, click **Publish** again. Each publish creates a fresh build and deployment.

## Deployment URLs

| Environment       | URL pattern                                                                                                         |
| ----------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Live site**     | [https://your-subdomain.runable.site](https://your-subdomain.runable.site)                                          |
| **Custom domain** | [https://yourdomain.com](https://yourdomain.com) (see [Custom Domains](/build-websites/ai-websites/custom-domains)) |

## Download your code

Click the **Download ZIP** button in the website header to download the entire website source code. You can run it locally or host it elsewhere.

## Export to GitHub

Click the **GitHub** button in the website header to push your code to a GitHub repository. The agent generates SSH keys and creates the repository for you.

<Frame caption="The GitHub export option in the website header.">
  <img src="" alt="Website header showing the GitHub button with a modal for entering the repository name" />
</Frame>

## What you cannot do

* You cannot deploy to a custom server or hosting provider directly. Websites deploy to the Runable infrastructure. Download the ZIP to self-host.
* You cannot set a custom build command. The build process is automated.
* You cannot roll back a deployment to a previous version from the dashboard. Use [Rollback](/core-concepts/branching-and-rollback) in the chat to return to a previous state, then re-publish.

## Next steps

<CardGroup cols={2}>
  <Card title="Custom Domains" icon="link" href="/build-websites/ai-websites/custom-domains">
    Connect your own domain to your deployed website.
  </Card>

  <Card title="Database" icon="database" href="/build-websites/ai-websites/database">
    Learn how the built-in SQLite database works.
  </Card>
</CardGroup>
