Skip to main content
The SmartAlex widget puts your agent on your own website. Visitors can chat with it, and on a voice agent they can also talk to it in the browser. You paste one line of code into your site once. After that, every change you make in SmartAlex reaches your site on its next page load, with no new code.

What you need

1. Open the widget

  1. In the SmartAlex sidebar, click Agent Settings.
  2. Open the Widget tab.
The widget has three tabs: Customise, Style and Install. The switch next to them, Show widget on my website, turns the widget on and off. The widget belongs to the agent whose settings are open. Your workspace has one live widget: when you click Save changes on an agent’s widget, that agent’s widget becomes the one your site shows.

2. Choose a style

On the Style tab, pick how the widget looks on your site: Every style uses the same install code, so you can change style later without touching your site.

3. Make it yours

On the Customise tab:
  • Appearance. Choose a Theme (Light or Dark), upload a Logo (a square image up to 2 MB), and on Widget v2 set a Role (for example “AI Concierge”) and a Launcher colour. Button text is the label on the button.
  • Suggested questions (Widget v2). Up to three short questions a visitor can tap to start. Suggest for me writes three for you to review.
  • Behaviour.
    • Phone callbacks: visitors can ask for a call back.
    • Keep calls open: a call carries on across page changes, in a separate desktop window.
    • Human handover: your team can reply from the inbox.
    • Notify on callback request: SmartAlex emails or texts the people you list when a visitor asks for a call.
  • Allowed websites. Add your website’s address, for example yourcompany.com, and chat and calls only work on that site and its subdomains. Leave it empty to allow any website. You can list up to 20. Changes reach your site within 5 minutes.
  • Daily limits. Daily chat replies and Daily voice minutes cap the widget across your whole workspace. Left blank, they are 100 replies and 120 minutes a day. You can set up to 500 a day yourself; for more, contact support.
The switches, allowed websites, daily limits and recipients save straight away. Everything else saves when you click Save changes.

4. Copy the code

On the Install tab, open Install code and click Copy. The code looks like this, with your own workspace ID in it:
Then:
  1. Paste it into your site’s <head> section.
  2. Save and publish your site.
If someone else looks after your website, open Send to developer instead, type their email address and click Send. SmartAlex emails them the code and the same steps. The code works on any site where you can paste a tag, such as WordPress, Shopify, Webflow, Wix, Squarespace or a plain HTML page. It carries no agent ID: it always shows your workspace’s live widget.

5. Turn it on

Turn on Show widget on my website, or click Save changes. The first time, a Before your widget goes live window asks:
  • Where are most of your visitors? United States, European Union / EEA, United Kingdom, or Elsewhere / mixed.
  • Whether your site is Directed to children under 13, and whether it Collects health information.
Read the Widget Terms of Service and the Data Processing Addendum it links to, then click Accept and continue. Open your website. The widget appears in the corner. Turn the switch off at any time and your site shows nothing.

What your visitors see

  • A notice they cannot miss. Every widget tells visitors “You’re talking to an AI assistant”, and that messages are saved and calls are recorded. Visitors from the EU or UK are also asked to continue only if that is OK.
  • Chat and voice in the style you chose.
  • If something stops it, visitors see a short, neutral message, such as “Voice calls are not available right now. Please try again later.” You see the real reason in SmartAlex, next to the widget.

What it costs

Each AI chat reply and each minute of a browser call uses your free credits first, then your wallet. If both are empty, visitors see “This service is currently unavailable. Please contact the website owner.” See How SmartAlex pricing works and What a call costs in practice.

If it does not work