> For the complete documentation index, see [llms.txt](https://messagematch.gitbook.io/messagematch-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://messagematch.gitbook.io/messagematch-docs/getting-started/installation.md).

# Install: 3-Step Overview

## Step 1: [Copy Your MatchAgent Script](/messagematch-docs/getting-started/installation/1.-create-a-matchagent.md)

1. Log into your MessageMatch dashboard
2. Click "Create MatchAgent" or select an existing MatchAgent
3. Follow install instructions until the "Copy Script" button appears

## Step 2: [Paste the Script to Your Website](https://github.com/Technology-Fiancial-Solutions-LLC/messagematch/blob/master/docs/getting-started/installation/2.-platform-instructions)

Paste the copied script into your website's HTML. We recommend placing it in the HTML header, just before the closing tag (example below):

```html
<!-- Place this script before closing </body> tag -->
<script>
  window._evolveConfig = {
    widgetId: "your-widget-id",
    apiKey: "your-api-key"
  };
</script>
<script src="https://cdn.messagematch.ai/widget.main.js"></script>
</body>
```

Production uses **`https://cdn.messagematch.ai`**. Override with `NEXT_PUBLIC_WIDGET_CDN_URL` if you point the dashboard at another Worker host.

> Important: Always use the script from your dashboard—it contains your unique MatchAgent ID and API key!

### [Platform-Specific Guides](https://github.com/Technology-Fiancial-Solutions-LLC/messagematch/blob/master/docs/getting-started/installation/2.-platform-instructions)

If you're using a website builder or CMS and having a difficult time finding where to place the snippet code or how to tag page elements manually, check out our platform-specific installation guides:

* [**Wix Installation Guide**](/messagematch-docs/getting-started/installation/2.-platform-instructions/wix-installation.md) - Complete walkthrough for Wix sites (requires Wix Premium)
* More platform guides coming soon (Squarespace, WordPress, Webflow)

## Step 3: [Tag Content Elements](/messagematch-docs/getting-started/installation/basic-configuration.md)

This step can be completed either manually or with the assistance of our Chrome Extension, prompted in the onboarding steps. See the next pages for more detailed instructions on [this step](/messagematch-docs/getting-started/installation/basic-configuration.md#manual-installs).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://messagematch.gitbook.io/messagematch-docs/getting-started/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
