> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/digital-agent/building-new-projects/step-6-put-the-agent-on-your-website.md).

# 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](https://docs.borndigital.ai/digital-agent/chat-bubble/bubble-design.md).
5. Click **Apply**, then **Save**. **Save** stays inactive until your changes are applied.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-0f94ddaeb5dbf4e87f67436195ee9960b20a00bb%2Ftutorial-step6-bubble-design.png?alt=media" alt="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"><figcaption><p>A chat-only bubble in Bubble design</p></figcaption></figure>

## 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**.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-c5405b05d73a4fb20af70b7ea8cf0765969294a1%2Ftutorial-step6-assign-bubble.png?alt=media" alt="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"><figcaption><p>Deploying the agent to the bubble</p></figcaption></figure>

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](https://docs.borndigital.ai/digital-agent/workspace/deploy-project.md).

## 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:

   ```html
   <script src="https://<your-studio-address>/da-bubble/bubble.js" type="module"
           id="born_digital.bubble-script" data-client-id="<your-bubble-id>"></script>
   ```

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-0ce49bd9e0dbcee89c5d4dc6c7b81c7debac1a7a%2Ftutorial-step6-deployment-script.png?alt=media" alt="The Deployment script section of the bubble with the HTML script tag and the Copy button highlighted; the bubble ID is blurred"><figcaption><p>The deployment script of your bubble</p></figcaption></figure>

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

{% hint style="info" %}
**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.
{% endhint %}

## 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](https://docs.borndigital.ai/digital-agent/workspace/deploy-project.md).

## Congratulations

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

* [Nodes Explained](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained.md) – every node and its settings,
* [AI node](https://docs.borndigital.ai/digital-agent/conversation-flow/nodes-explained/ai-node.md) – tools, MCP servers and routing,
* [Knowledge base](https://docs.borndigital.ai/digital-agent/advanced-functions/knowledge-base.md) – your own content for the agent,
* [Campaigns](https://docs.borndigital.ai/digital-agent/campaigns.md) – let a voicebot call your customers.
