In the app: Agent Settings → Widget → Install → Install code. In Wix: Settings → Custom Code.
What do I need first?
- An active SmartAlex agent, with Show widget on my website switched on under Agent Settings → Widget. See Widgets.
- Your tenant ID, which the Install code panel fills in for you. A connected AI app can fetch it too.
- For the site-wide widget, a Wix Premium plan with a connected domain.
data-tenant-id:
How do I add it to every page?
1
Open Custom Code
In your Wix dashboard go to Settings, then Custom Code under Advanced. Click + Add Custom Code.
2
Paste the tag
Paste the script tag into the code box and name it
SmartAlex Widget.3
Set where it loads
Set Add Code to Pages to All pages, load it Once, choose Body - end, and apply it to All visitors.
4
Apply and publish
Click Apply, then Publish from the Editor.
How do I add it to one section?
1
Add an Embed HTML element
In the Wix Editor click Add Elements, then Embed Code, then Embed HTML.
2
Paste the tag
Click Enter Code, choose Code mode, not Website address, and paste the tag.
3
Resize and publish
Resize the box and Publish.
Which widget style should I pick?
You choose the style in Agent Settings → Widget, not in Wix. Widget v2 gives voice and chat in one window. Pill, Chat bar, Side panel and Voice pill are the others, and changes show on the next page load with no edit to your site.How do I check it works?
- Open your published Wix site in a normal tab, not the Editor.
- Look for the widget in the bottom corner and open it.
- Send a message or start a call.
Questions people ask
Do I need a paid Wix plan?
Do I need a paid Wix plan?
For site-wide Custom Code, yes. Wix runs Custom Code only on published sites with a Premium plan and a connected domain. On a free address, use the Embed HTML element to test in one section.
Why is the widget missing in the Wix Editor?
Why is the widget missing in the Wix Editor?
Custom Code runs on the live published site, not in the Editor preview. Publish, then open your live address in a normal browser tab.
Why does the Embed HTML widget stay inside a box?
Why does the Embed HTML widget stay inside a box?
Wix renders Embed HTML inside an iframe, so the widget is confined to that box. For a floating widget across the whole site, use Custom Code.
Related
Installing the widget
The full install guide and fixes.
Widgets
The five styles, colours and limits.
Squarespace
The same widget on Squarespace.
Automation
Send call and deal events to your own tools.

