> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ekho.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install on your website

> One script tag puts the agent on the site you already have.

The agent installs on your existing website. There is nothing to rebuild and no platform to move to.

<Note>
  **If Ekho hosts your storefront, skip this page.** Turn the Website channel on and the agent appears automatically on every storefront page. It is deliberately suppressed inside checkout, account, login, and vehicle-detail frames so it does not stack on itself. You still need the snippet for any site you host yourself, like a marketing site or a microsite.
</Note>

## Get your snippet

Go to **Product settings → Sales Agent → Chat widget**, pick the domain, and open **Installation instructions**. Copy the snippet shown there.

<Warning>
  Always copy from that panel rather than from an example in these docs. The panel has your real key and always shows the current recommended snippet.
</Warning>

The snippet looks like this:

```html theme={null}
<script defer src="https://js.ekho.com/ekho.js" data-key="ek_live_your-svp-id"></script>
```

Keys beginning `ek_test_` point at staging. Keys beginning `ek_live_` are production.

## Install it

<Tabs>
  <Tab title="Google Tag Manager (recommended)">
    Best option if you use GTM, because you never touch your site's source.

    <Steps>
      <Step title="Create the tag">
        **Tags → New → Custom HTML** and paste your snippet.
      </Step>

      <Step title="Add a trigger">
        **Triggers → New → All Pages**.

        <Warning>
          If this GTM container is shared across several sites, do **not** use All Pages. Scope the trigger to the specific hostname or you will load the wrong dealership's agent.
        </Warning>
      </Step>

      <Step title="Preview">
        Click **Preview**, enter your site URL, and check that the chat button appears and answers.
      </Step>

      <Step title="Publish">
        Click **Submit**.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Paste into your site">
    Add the snippet to your site's `<head>`, or just before the closing `</body>` tag. It has to be on every page you want the agent on.

    If your platform has a header or footer code box, put it there so it loads site-wide. On DealerSpike that is the **Tracking Component**.
  </Tab>
</Tabs>

## Check it worked

Load your site and confirm the chat button appears, then ask it something only your inventory would know, like a model you currently stock. If it answers with a vehicle card, you are live.

Add `data-debug="true"` to the script tag while testing to get detailed logs in your browser console. Take it off when you are done.

<Card title="Now configure your agent" icon="sparkles" href="/sales-agent/get-started/set-up-your-agent">
  Give it a name, a voice, and an escalation address.
</Card>
