Chapters

Chapter 8

Publishing and deploying

Publishing creates a numbered release from the saved draft. Deploying makes that release available on a channel.

Publish a release

  1. Wait for the Saved status in the top bar.
  2. Select Validate and resolve every issue.
  3. Test the changed paths and their failure routes.
  4. Select Publish. The draft becomes the live version at once.
  5. Open Releases and confirm the new version.

Release history

Releases lists every published version with its date and note. The live version is marked Active. Each conversation stays on the version it started with. To return to an earlier version, select Republish beside it.

Release history.
Figure 20. Release history.

Deploy to web chat

  1. Open Deploy in the bot menu.
  2. Under Allowed website origins, enter the addresses of the websites that may show the widget, one per line.
  3. Select Create deployment.
  4. Select Copy embed and add the script to your website.
  5. Select Test page to try the widget on a sample page.

Use the switch on a deployment to turn it on or off.

Channel deployments.
Figure 21. Channel deployments.

Design the web widget

Select Customize on a web deployment. No CSS or code is needed, and the live preview updates as you work.

SectionOptions
Brand presetA coordinated palette: Spire Bot, Ocean, Emerald, Sunset, Rose, or Night.
ColorsPrimary, Header, Surface, Bot message, and Visitor message.
Header and messagesWidget title, subtitle, message placeholder, and an optional launcher label.
IconsSeparate symbols for the bot and the launcher.
LayoutLight or dark theme, position at the bottom right or bottom left, size, and shape.
The widget designer with its live preview.
Figure 22. The widget designer with its live preview.

Customer identity

By default, web visitors are remembered per browser. To let customer memory follow a signed-in customer across devices, select Generate secret under Customer identity and have your website pass a signed customer ID to the widget.

Deploy to WhatsApp Business

Under WhatsApp Business, select Add Meta account to connect your Meta account, then choose the business phone number to deploy to. Confirm templates, media, catalog assets, and channel limits before you publish.

After every release