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

# Publish your agent

> Deploy an agent as a site widget or a hosted help page.

Publish your tested agent through a floating website widget, an inline chat panel, or a hosted help page. You can enable both the widget and help page for the same agent.

## Add the chat widget to your site

The widget can float in a screen corner or appear inline inside a page section.

<Steps>
  <Step title="Open the widget settings">Select **Deploy**, then open **Chat Widget**.</Step>

  <Step title="Configure the style">
    On **Style**, choose the theme, corner position, spacing, and accent color. Use the preview to
    check the result.
  </Step>

  <Step title="Configure the behavior">
    On **Behavior**, set the opening delay. Choose whether to show conversation starters and whether
    the widget opens automatically on mobile.
  </Step>

  <Step title="Restrict website access">
    On **Embed**, add one exact domain or subdomain per line under **Allowed Domains**. Leave it
    blank to allow the widget on every domain.
  </Step>

  <Step title="Install one snippet">
    Copy **Script** for a floating site-wide launcher. Copy **Inline iframe** when chat belongs
    inside a specific page section. Don't install both snippets on the same page.
  </Step>

  <Step title="Enable the widget">
    Save the configuration and switch the widget to **Enabled**. Visitors can't use an installed
    widget while it is disabled.
  </Step>
</Steps>

## Publish a hosted help page

The help page gives you a public chat URL without a website installation.

<Steps>
  <Step title="Open the help page settings">Select **Deploy**, then open **Help Page**.</Step>

  <Step title="Customize the page">
    On **Settings**, enter the page title, subtitle, and input placeholder. Save the content after
    reviewing the preview.
  </Step>

  <Step title="Publish and share the page">
    Switch the help page to **Enabled**. Open **Share** and copy the public URL.
  </Step>
</Steps>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.