Chat widget2 min readUpdated April 14, 2026

Embedding the Salva chat widget on your website

A one-line snippet adds the Salva chat widget to any website — Squarespace, Wix, WordPress, or hand-coded HTML. Here's where it goes and how it loads.

Chat widget

Embedding the Salva chat widget on your website

A one-line snippet adds the Salva chat widget to any website — Squarespace, Wix, WordPress, or hand-coded HTML. Here's where it goes and how it loads.

Salva AI · Learn

The snippet

Your dashboard shows a snippet that looks like this:

<script src="https://app.getsalvaai.com/api/widget/embed?id=YOUR_ID"></script>

Your unique id is generated when you sign up. Don't share it — it controls how the widget is configured.

Where it goes

Paste it once, right before the closing </body> tag of your HTML. That position loads the widget after your page content, so it never blocks the page from rendering.

You only have to add it once. Once it's on the page, the widget loads on every page that includes your site's footer or template — so you're covered site-wide.

Per-platform install

The exact steps vary by website builder. The complete walkthrough is at getsalvaai.com/setup, but here's the short version:

PlatformWhere to paste
SquarespaceSettings → Advanced → Code Injection → Footer
WixSettings → Custom Code → Add Custom Code → Body — end
WordPressTheme Editor → footer.php (or a "Custom HTML" widget in the footer)
Custom HTMLJust before </body> in your template

What loading looks like

When a visitor lands on your site, the widget script downloads (≈15kb), then renders a floating chat button in the bottom-right corner. Clicking the button opens the conversation panel. First message is your custom greeting.

Visitors can keep the widget open while they browse — it stays anchored to the corner across page navigations.

After install

Once it's live, every chat conversation flows into your dashboard inbox with the visitor's name, contact info (if collected), and full transcript — same place as voice calls. Customize how it looks in Customizing the widget. Lock down which domains can embed it in Restricting widget embedding.


Published April 14, 2026

Related guides