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

# Add to Your Site

> Three steps. Under 5 minutes.

## 1. Add the script

Paste this once, before the closing `</body>` tag on any page where you want the Builder available.

```html theme={null}
<script
  src="https://cdn.fitmyvehicle.com.au/fmv.js"
  data-public-key="FMV-XXXXXX"
  defer
></script>
```

<Info>
  **Your public key:** Replace `FMV-XXXXXX` with the key provided during onboarding. This identifies your account and is safe to include in client-side code.
</Info>

<Warning>
  **Domain registration required:** Your website's exact origin (e.g. `https://www.example.com.au`) must be registered in FMV during onboarding. Without this, the widget will return an "Origin not allowed" error. We handle this as part of setup — just let us know if you add additional domains later.
</Warning>

## 2. Add a button

Add the `data-fmv-open-widget` attribute to an existing button, or create a new one.

**Option A — Use an existing button:**

```html theme={null}
<button type="button" data-fmv-open-widget>
  Get a quote
</button>
```

**Option B — New button targeting a specific Builder:**

```html theme={null}
<button type="button" data-fmv-open-widget data-builder-id="4">
  Build my vehicle quote
</button>
```

Clicking the button opens the FMV Builder in an iframe overlay on your site.

## 3. Test it

* Refresh the page
* Click the button
* Confirm the Builder opens correctly

<Note>
  **Done!** If the Builder doesn't open, check the [Troubleshooting](/reference/troubleshooting) page.
</Note>
