Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Step 6 – Put the agent on your website

Create a chat bubble, deploy the trained version to it and add the bubble to your web page.

Customers talk to your agent through a bubble – the chat window on your web page. You create the bubble once, deploy the agent to it, and paste a short script into your page.

Create a bubble

  1. In the workspace sidebar, open Organization › Bubble design. A new, unsaved bubble opens (to start over at any time, click Create).

  2. Give it a Name, for example My first agent – website.

  3. Under Conversation modes, turn off Voice and Avatar – this tutorial agent is a chat agent.

  4. Adjust colours and texts in the Colors and Text tabs if you like – every setting is described in Bubble design.

  5. Click Apply, then Save. Save stays inactive until your changes are applied.

Bubble design with the name My first agent – website and the Set-up tab, where Chat is on and Voice and Avatar are turned off under Conversation modes
A chat-only bubble in Bubble design

Deploy the agent

  1. Open your project in the flow editor. Make sure the version is trained.

  2. Click Deploy in the bottom bar.

  3. In Essential › General, choose your bubble in Assign Bubbles.

  4. In Speech to text, choose a Provider – it is required even for a chat agent.

  5. Click Confirm.

The Deploy dialog on the Essential tab with the bubble My first agent – website in Assign Bubbles and AZURE chosen as the Speech to text provider
Deploying the agent to the bubble

Studio confirms that the changes will take effect in a few seconds. In the project list, your project is now marked as live. More about deployment: Deploy Project.

Add the bubble to your web page

  1. Go back to Organization › Bubble design, click Choose and pick your bubble.

  2. Open Deployment script and click Copy. The section appears once the bubble is deployed.

  3. Paste the script into the HTML of your web page, just before </body>. It looks like this:

The Deployment script section of the bubble with the HTML script tag and the Copy button highlighted; the bubble ID is blurred
The deployment script of your bubble

Open the page – the bubble appears in the corner and your agent greets the visitor.

Updating the agent later: change the flow, train the new version and deploy it to the same bubble. The script on your page stays the same.

Phone calls

The same flow can answer phone calls. In the Deploy dialog, choose a phone number in Assign numbers and set the Voice section – the provider and voice that read your messages aloud. Phone numbers are prepared for your organization by Born Digital. See Deploy Project.

Congratulations

You have built, tested and deployed your first digital agent. Where to go next:

Last updated

Was this helpful?