---
title: "Add Chat Widgets in AI Studio"
description: "Add a branded chat widget to an AI Studio site, configure its messaging, contact form, consent, spam protection and hours, and review chat widget analytics."
url: https://help.aesthetixcrm.com/en/articles/2242-add-chat-widgets-in-ai-studio
collection: "AI Studio"
updated: 2026-11-20
language: en
---

# Add Chat Widgets in AI Studio

Add a branded chat widget to an AI Studio site, configure its messaging, contact form, consent, spam protection and hours, and review chat widget analytics.

AI Studio can add a custom-designed chat widget to your site that matches your colors, fonts and layout. AI Studio builds the chat interface into the project, and your Aesthetix CRM account powers the messaging behind it. You manage widgets from **AI Agents** > **AI Studio** > your project > **More** > **Chat Widgets**. This feature may not be enabled on every account yet.

> **Protect patient privacy:** AI features are not approved for processing Protected Health Information (PHI). Do not put PHI into AI Studio prompts, and add a short notice on the widget asking visitors not to share medical details in chat. Direct clinical questions to a phone call or your secure patient process.

## How AI Studio Chat Widgets Work

Instead of a standard chat bubble you get a design that fits your site, while still using your existing contacts, Inbox and Chat Widget settings. You can create several widgets in one project for different pages or visitor experiences.

-   Messages from visitors appear in **Inbox**, where your team reads and replies. Replies are delivered back through the widget like any Live Chat conversation.
    
-   The widget supports conversation history, file attachments, message delivery status, business hours and spam protection.
    
-   Returning visitors can continue earlier conversations.
    
-   The widget follows your configured chat settings.
    
-   Each widget also appears under **Web Tools** > **Chat Widget** next to your other widgets. If you open an AI Studio widget for editing there, you are sent back to AI Studio to manage its settings.
    

Supported chat types: Live Chat and SMS / Email Chat. Voice Chat, WhatsApp, Facebook Messenger and Instagram chat widgets are not currently supported.

## Add a Chat Widget

You do not paste embed code. AI Studio creates and connects the widget through a guided setup.

1.  In your AI Studio project, enter a prompt such as "Add a chat widget to my website."
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-5agWzZTKHGkx4X5SPFpjvKzsQc1CrrjkbgWNtQ5LkRBIIYAvmYDjPEJhcbabHbIM9bf6qUmgMXh.png?v=1&k=us1&s=api&e=1795348800&sig=BJpWpr0n6HRRYgUdTghDPKAWzQhEjEKhWdmPgbbUXqM)
2.  Choose the chat type you want, then click **Connect**.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-dXo5BSqVJD1pHuav6Z2AzU9kFtXLVhOu0oyuudkV9s5QoXyPgPQIWfDmPVWseLuVuqZCaXYSlQU.png?v=1&k=us1&s=api&e=1795348800&sig=Pzv6AKwW1bgcLMUZIAQgmHVFgUUDQffFFEWvgCYJgeo)
3.  Answer AI Studio's design questions: how the widget greets visitors, where it appears and the tone of its messages.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-zdSHU5PmNOzpk5nfF9sTbl6cgFzu3peGXScAqezcECbCy2gRkv2mIE9BAtFQqiv8AS9s8gPArh8.png?v=1&k=us1&s=api&e=1795348800&sig=_oTkDP9oEkLg_90MA8IGuXsadk6JVrYNYC58NEmWCOk)
4.  When AI Studio finishes, it creates a chat widget in your account, names it after your project and connects it to your site. Open the preview to see how it looks and behaves.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-LWwamMk4CcTeajep6VRBqJ7sRcV0QMtZtFG1OvZ6tT8YF2F9mxe3wtRJv8HaHHVRMlO5UifyCuU.png?v=1&k=us1&s=api&e=1795348800&sig=7GLy3YPzaCtHkWNmJrfZkyJ0xZFUI-D4LM7uoQQ4CQ8)
5.  To change the look, ask AI Studio, for example "Change the background color of the chat widget to yellow so it stands out." You can also edit the generated code for more control (see AI Studio Visual Edits and Code Editor).
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-zSK0U4aQJ0YQZi5AtLpCovQNgALr6ExbFr3zvUUFdGNuyQocjuYW1aTFnK4zA7vdxRkes46At8Y.png?v=1&k=us1&s=api&e=1795348800&sig=hyP0XwmKHP9pmiSoGKYek3KgoCYuVxjnVvVWed2NAFc)

If your project has no widget yet, click **Add a chat widget** on the Chat Widgets page and AI Studio creates one.

## Chat Widget Settings

Appearance is controlled by prompts or code. Behavior is controlled in the settings. Go to **More** > **Chat Widgets**, then select the widget. You can rename it and configure:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p><strong>Setting</strong></p></th><th colspan="1" rowspan="1"><p><strong>What you control</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>Messaging</p></td><td colspan="1" rowspan="1"><p>Welcome messages, inactivity timeouts, chat-ended messages, acknowledgements and feedback messages</p></td></tr><tr><td colspan="1" rowspan="1"><p>Contact Form</p></td><td colspan="1" rowspan="1"><p>Which contact details visitors must give before starting a conversation</p></td></tr><tr><td colspan="1" rowspan="1"><p>Compliance Notice &amp; Consent</p></td><td colspan="1" rowspan="1"><p>Legal notices and consent options for privacy, marketing, SMS and any applicable HIPAA requirements</p></td></tr><tr><td colspan="1" rowspan="1"><p>Spam Protection</p></td><td colspan="1" rowspan="1"><p>Handling of suspicious leads, tagging and optional Do Not Disturb (DND) restrictions</p></td></tr><tr><td colspan="1" rowspan="1"><p>Live Chat Business Hours</p></td><td colspan="1" rowspan="1"><p>When your team is available and what visitors see outside those hours</p></td></tr></tbody></table>

Tips for a practice: set business hours that match your front desk, ask for name plus phone or email, and include a consent line for texting follow-ups.

## Chat Widget Analytics

Go to **More** > **Analytics** > **Chat Widgets** in the project. The dashboard shows:

-   **Loaded:** times a widget loaded
    
-   **Opened:** times a widget was opened
    
-   **Open Rate:** percent of loads that resulted in an open
    
-   **Feedback:** visitor chat ratings
    

The **All Leads** table lists contacts created through your chat widgets with available contact details, chat type, widget name and the page where each conversation started.

![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-TKXpVNncLQJGKSMAwA7BJU3Pz0o3A9qeyXwdEqAanQntKk1kHV1j0ZxaMuGBafZvQZEsnvRFqnL.png?v=1&k=us1&s=api&e=1795348800&sig=ydb2xlpEMXETvLdxMs6n9oBQsfgAmhL-trtM71BJKTs)

## Pair It With Conversational AI

A chat widget handles the conversation channel. To have an AI reply for you, set up Conversational AI and attach it to the widget channel. See the Conversational AI guides and the Chat Widget collection guides for setup. If the AI books appointments in the widget, it works only with native Aesthetix CRM calendars, not EMR calendars. Do not put PHI into the AI's instructions or knowledge.

## Troubleshooting

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p><strong>Problem</strong></p></th><th colspan="1" rowspan="1"><p><strong>Fix</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>Widget does not appear on the site</p></td><td colspan="1" rowspan="1"><p>Publish the project again after adding it, then hard refresh</p></td></tr><tr><td colspan="1" rowspan="1"><p>Messages do not reach Inbox</p></td><td colspan="1" rowspan="1"><p>Confirm the widget is connected and the chat type is Live Chat or SMS / Email Chat</p></td></tr><tr><td colspan="1" rowspan="1"><p>Need WhatsApp, Messenger, Instagram or Voice chat</p></td><td colspan="1" rowspan="1"><p>Not supported in AI Studio widgets</p></td></tr><tr><td colspan="1" rowspan="1"><p>Cannot edit settings from Web Tools</p></td><td colspan="1" rowspan="1"><p>AI Studio widgets are managed in AI Studio. Use More &gt; Chat Widgets</p></td></tr><tr><td colspan="1" rowspan="1"><p>Visitors appear outside business hours</p></td><td colspan="1" rowspan="1"><p>Review Live Chat Business Hours and the out-of-hours message</p></td></tr><tr><td colspan="1" rowspan="1"><p>Spam leads arriving</p></td><td colspan="1" rowspan="1"><p>Review Spam Protection tagging and DND options</p></td></tr><tr><td colspan="1" rowspan="1"><p>Need another look</p></td><td colspan="1" rowspan="1"><p>Ask AI Studio to restyle the widget, or restore an earlier version</p></td></tr></tbody></table>

## Frequently Asked Questions

**Where do chat messages show up?**

In Inbox, like any other Live Chat conversation.

**Do I need to install embed code?**

No. AI Studio creates and connects the widget for you.

**Can I have more than one widget in a project?**

Yes. Create separate widgets for different pages or visitor experiences.

**Which chat types are supported?**

Live Chat and SMS / Email Chat. Voice Chat, WhatsApp, Facebook Messenger and Instagram are not supported.

**Can I change the widget's colors and greeting?**

Yes. Ask AI Studio in the chat, or edit the code. Greetings and messages are also in the Messaging settings.

**Where do I manage the widget's behavior?**

In the project under More > Chat Widgets. Widgets also appear under Web Tools > Chat Widget, but editing sends you back to AI Studio.

**How do I see how it is performing?**

More > Analytics > Chat Widgets shows loads, opens, open rate, feedback and leads.

**Can an AI answer the chat and book appointments?**

Pair it with Conversational AI. Booking works only with native Aesthetix CRM calendars, not EMR calendars.

**Should visitors share medical information in chat?**

No. AI features are not approved for PHI, so add a notice asking visitors not to share medical details.
