# Publishing (/publishing)



Publishing is how your assistant goes from the preview to your live site. Open an
assistant and select **Publish** to get the snippet you need. Each option opens a
dialog with a snippet you copy into your site.

## The floating widget [#the-floating-widget]

The floating widget adds a launch button to your pages. When a visitor selects it,
the chat window opens over the page.

1. In **Publish**, choose the website floater option.
2. Copy the provided snippet.
3. Paste it into the part of your site that appears on every page where you want
   the assistant, typically the shared header of your site's template.

The snippet loads the widget and points it at your assistant using the assistant's
identifier, so the right assistant appears.

## The inline frame [#the-inline-frame]

If you want the assistant to sit inside the page rather than float over it, use the
inline frame option. It gives you a frame you place wherever you want the chat to
appear, which is useful for a dedicated help page or a support corner of your app.

## After you publish [#after-you-publish]

* Visit a page that includes the snippet and confirm the widget appears and opens.
* Ask it a few real questions and check that answers and sources look right.
* Watch the first conversations in the [Inbox](/operations/inbox) to see how
  visitors use it, and adjust knowledge or flows as needed.

<Callout title="One assistant, many places">
  Because the snippet references the assistant by its identifier, you can place the
  same assistant on several pages or sites. Update the assistant once and every
  placement reflects the change.
</Callout>

## Keep the identifier handy [#keep-the-identifier-handy]

Publishing uses the assistant's identifier, which you can copy from the assistant
card or the editor. If you ever need to move or reinstall the widget, that
identifier is all you need to point a new snippet at the same assistant.
