Chat widget3 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://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
Installing the widget on your website
  1. Copy your embed snippet
    In your dashboard: Settings → Widget → Embed code. Your unique ID is pre-filled — copy the full script tag.
  2. Open your site's footer template
    Squarespace: Settings → Advanced → Code Injection → Footer. Wix: Settings → Custom Code → Body — end. WordPress: Theme Editor → footer.php.
  3. Paste before the closing body tag
    Paste the snippet right before </body>. This position loads the widget after page content so it never blocks initial render.
  4. Visit your site and confirm
    Look for the floating chat button in the bottom-right corner. Click it — you should see your greeting message appear.

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