Skip to main content
Framer takes the SmartAlex widget as one script tag. Paste it into the site-wide custom code field for a floating widget on every page, or into an Embed component for one section, then publish. There is no plugin and no build step.
In the app: Agent Settings → Widget → Install → Install code. In Framer: Site Settings → General → Custom Code → End of <body> tag.
Framer custom code runs only on the published site, not on the editor canvas or the in-app preview. Publish, or publish to a staging address, before you look for the widget.

How do I get the snippet?

Open Agent Settings → Widget → Install → Install code and press Copy, and your data-tenant-id is already filled in. Switch on Show widget on my website in the same place. The tag is the same for every widget style:
You need an active agent first. The fastest way is to type your Framer site address into the Create a new agent card on Home and let it build one.

How do I add it to every page?

1

Open Custom Code

In the Framer editor, open the site menu, go to Site Settings → General and scroll to Custom Code.
2

Paste into End of body tag

Paste the tag into the End of <body> tag field. The widget then loads after your page content.
3

Publish

Click Publish. Open the live address, or a staging one, and the widget appears in the corner.
The diagram shows the path.

How do I add it to one section only?

1

Insert an Embed

Open the Insert panel, search for Embed and drag it onto the frame you want.
2

Choose HTML

In the Embed’s properties, set the type to HTML and paste the tag.
3

Publish

Give the Embed room on the layout and publish.
Most sites want the floating version. Chat bar and Side panel sit at the edge of the screen, so the site-wide field suits them best.

Which widget style should I pick?

You choose the style in Agent Settings → Widget, not in Framer. Widget v2 gives voice and chat in one window. Pill, Chat bar, Side panel and Voice pill are the others. Because the snippet never changes, switching style takes effect on the live site at the next page load. See Widgets.

How do I make the agent do more?

To have the agent check availability or create a record in your system during a call, add Custom HTTP Tools. They need the Power Tools add-on (add-ons and prices), and to send call and deal events to your own tools, see Automation.

Questions people ask

Framer custom code runs only on the published site, not on the editor canvas or the in-app preview. Publish, or publish to a staging address, and open the live page.
Use the site-wide custom code field for a floating widget on every page, and the Embed component only for the widget inside one section.
No. The widget reads its style, colours and agent from SmartAlex when the page loads, so you change them in Agent Settings → Widget.

Installing the widget

The full install guide and fixes.

Webflow

The same widget in Webflow.

Create an agent

Build the agent from your site address.

Automation

Send call and deal events to your tools.
Last modified on November 27, 2026