> For the complete documentation index, see [llms.txt](https://help.meltingspot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.meltingspot.io/english/coach-ai/set-up/installing-the-ai-coach.md).

# Installing the AI Coach

Before it can be displayed on your site or application, the AI Coach requires the integration of a script provided by MeltingSpot. This step is done once per playbook, usually by a developer on your team.

### **Where to find the script**

The **Deploy your coach** button gives access to the code to integrate, from two places:

* the list of your playbooks (**Settings > Playbooks**),
* the **AI Coach** page, **Playbook** tab, for the selected playbook.

### **Installing the script**

Click **Deploy your coach**, copy the code, and integrate it into your site's source code, at the location indicated by your technical team (usually just before the closing `</body>` tag). You'll find all the NPM documentation [here](https://www.npmjs.com/package/@meltingspot/coach).

Once the script is installed and the page reloaded, the AI Coach can be displayed as soon as a hotspot is active or two-way conversation is enabled for this playbook (👉 more information [here](/english/coach-ai/user-experience/the-ai-coach-window.md)).

{% hint style="info" %}
🔑 Without this script, no hotspot or AI Coach window can be displayed on your product, even if you have already configured intents.
{% endhint %}


---

# 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://help.meltingspot.io/english/coach-ai/set-up/installing-the-ai-coach.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.
