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

# Publish

Publishing your bot makes it available to users at its public URL and enables data collection.

## Published vs Unpublished Bots

**Unpublished bots**:

* Only accessible to workspace members and invited collaborators
* Changes are automatically saved as drafts
* No public URL access for end users
* Results collection is disabled

**Published bots**:

* Accessible via public URL to anyone
* Results collection is active
* Can be embedded in websites and applications
* Version-controlled - unpublished changes don't affect live bot

## Publishing Your Bot

To publish your bot:

1. Click the **Publish** button in the top toolbar.
2. Confirm publish in the modal.
   * Optional, enable the **End all active sessions** to close remaining conversations.
3. Your bot is now live at its public URL

The Publish button shows different states:

* **"Publish"** - First time publishing or unpublished bot
* **"Save"** - Bot has unpublished changes that need publishing
* **"Published"** - Bot is live and up-to-date

### Publishing States and Controls

<Frame>
  <img src="https://mintcdn.com/urbiport-eca888d8/KPSdaS9HkoqnwSDh/images/builder/editor/editor-publish.png?fit=max&auto=format&n=KPSdaS9HkoqnwSDh&q=85&s=dbc39a8bf53a5900689a39e1db431731" alt="Publish button and menu options" width="352" height="431" data-path="images/builder/editor/editor-publish.png" />
</Frame>

* **"Unpublish bot"** - Take the bot offline; users will see "The bot you're looking for doesn't
  exist"
* **"Restore published version"** - Discard current changes and revert to the live published version
* **"Close bot"** - Temporarily disable the bot; users will see "This bot is now closed"
* **"Reopen bot"** - Reactivate a closed bot.
* **"Export bot"** - Download bot configuration as JSON file.

<Tip>
  Always test your bot thoroughly in Preview mode before publishing. Once published, changes require
  republishing to take effect for users.
</Tip>

### Publishing Issues

**Bot won't publish**:

* Check for incomplete blocks or missing connections
* Verify all required fields are filled
* Ensure no validation errors exist
* Try refreshing the page and publishing again

**Changes not appearing**:

* Confirm you clicked "Publish" not just "Save"
* Clear browser cache and reload
* Check if bot is closed or unpublished
* Verify correct URL is being accessed

<CardGroup cols={2}>
  <Card title="Deploy" icon="rocket" href="../deploy/client">
    Learn about embedding and deployment options
  </Card>

  <Card title="Results" icon="chart-line" href="/builder/results/table">
    Analyze user interactions and bot performance
  </Card>
</CardGroup>
