$50 free credit for new accounts - ends in

Claim $50

Setup

How to set up website widget for clinic website chat widget

How to set up website widget for clinic website chat widget — answered from your own docs. How Private Clinics teams use Chatref (website widget, website widget

Chatref Team4 min read / Updated June 15, 2026

You can add Chatref’s grounded AI chat to your clinic website in minutes. Create a free account (no card), feed it your practice details, configure the widget to match your brand, and paste the embed snippet into your site. Patients then get instant answers to scheduling, refill, and insurance questions directly from your own information.

Before you start

Have these ready before you begin:

  • A Chatref account – sign up at app.chatref.ai with $50 in free credit, no credit card required.
  • Your practice information – a website URL, PDFs of patient handouts, or plain-text documents that describe your hours, services, insurance accepted, and common patient questions. The more you include, the more useful your widget will be.
  • Access to your clinic website’s HTML, or a CMS that lets you insert a <script> tag just before </body>.

If you run a Private Clinics practice, this widget works on any website builder (WordPress, Wix, custom‑built, etc.) with no extra per‑bot fees.

Step-by-step setup

  1. Sign up or log in – go to your Chatref dashboard.
  2. Add your practice content – from the “Knowledge Base” tab, upload PDFs, paste a URL to your clinic website (Chatref will scan the pages), or type details directly. This is what the agent will draw from, so include all the scheduling steps, accepted plans, refill procedures, and office hours.
  3. Test the answers – use the in‑dashboard Playground to ask a few patient questions. Tweak the content if an answer isn’t complete.
  4. Configure the widget – open the “Widget” settings:
    • Pick a primary color that matches your clinic’s brand (logo or clinic color).
    • Write a short welcome message (e.g., “Ask about hours, insurance, or scheduling”).
    • Under “Domain allowlist”, add your clinic’s domain(s) – for example, yourclinic.com and staging.yourclinic.com. This prevents others from embedding your chat on an unauthorized site.
  5. Copy the embed snippet – Chatref gives you a short <script> tag. Copy it.
  6. Paste the snippet on your site – open your website’s template or footer file and insert the snippet just before the </body> tag. If you use a CMS, many have a “Custom HTML” or “Header/Footer scripts” area; place it there. It will load on every page automatically.

The widget appears live as soon as you save the page. There is no build step, and you can change settings later without touching the code.

Check it works

Open your clinic website in a private or incognito browser window (to avoid cached sessions) and:

  • Click the chat icon – the widget should open with your brand color and greeting.
  • Ask a real patient question, like “Do you accept Blue Cross, and how do I book?”
  • Confirm the reply pulls details from the practice information you uploaded, and that the tone sounds appropriate.
  • Test on a mobile device to make sure the widget resizes correctly.

If the answer doesn’t seem right, go back to the knowledge base, update the content, and the agent will use the fresh information immediately.

Common issues

Widget doesn’t appear – check that your clinic’s domain is exactly entered in the allowlist (no www vs root mismatches). Also verify the snippet is not wrapped in additional <div> tags and isn’t being blocked by a browser ad‑blocker or script‑blocking extension.

Answers seem generic or wrong – the agent is only as good as the content it has. If patients ask about a service you offer but haven’t documented, add a short text file covering that topic. Re‑upload from the knowledge base tab; no redeployment of the widget is needed.

Brand color doesn’t match – return to widget settings, re‑select the primary color, and save. The change propagates to all site visitors within a few minutes.

Widget covers important page elements – you can adjust the initial open state or placement from the widget settings. On mobile, the widget minimises to a compact button to avoid blocking forms or navigation.

FAQ

What causes clinic website chat widget problems for Private Clinics?

Most issues come down to three things: the agent’s knowledge base is too thin (missing services, outdated hours), the domain allowlist doesn’t include the exact public URL, or the embed snippet was inserted incorrectly. Ad‑blockers and restrictive CMS template caching can also hide the widget. Review these three areas first.

How do I improve clinic website chat widget for Private Clinics?

Start by enriching your knowledge base. Add a “Frequently asked questions” document, detailed insurance and billing guides, and clear first‑visit instructions. Then test with real patient queries and refine answers until they sound natural. Keep the domain allowlist up to date, especially if you have multiple subdomains. Finally, monitor the Conversation Inbox to see which questions still get escalated, and fill those gaps in your content.

Put this into practice

Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.

Get started