> For the complete documentation index, see [llms.txt](https://help.capriai.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.capriai.us/capri-portal/using-the-emulator/adding-the-emulator-as-a-custom-menu-item.md).

# Adding the Emulator as a Custom Menu Item

If you have a Capri Enterprise plan and an Agency Unlimited plan from GHL, you can add the Capri emulator as a white labelled custom menu item in GHL!&#x20;

## Video Overview

{% embed url="<https://www.loom.com/share/5c7905e774f84951a45aec6d3842f0d8?sid=c39fe14a-d434-4f2c-9394-5cba0e62c0b0>" %}

## Step-By-Step Instructions

First, you will need to get your Capri token by going to the organizations tab on the left side of the Capri portal, selecting the tokens tab, then adding a new token!

<figure><img src="/files/dHbuL8aBOk8XK8m9JMkd" alt=""><figcaption></figcaption></figure>

Then, in your GHL agency dashboard, go to the settings in the bottom left.

<figure><img src="https://lh3.googleusercontent.com/Uy0uKkh5wcTyjQeflS2QmmVDgvCDelgaYts1FKYQ0XMseSnT8UP4hnOf-9_278AtOd5OOCMSi_hUJYOjk9jQx61PANqfizN-0ZOWupRtIO6m5lGHcn9UMXbucR0AdGaEnsMH5lgMh8K0O3Pq" alt=""><figcaption></figcaption></figure>

Then click on custom menu link.

<figure><img src="https://lh3.googleusercontent.com/c8K62QGpNBe4CN-6WyKeTHXWonbCLnr6XBR-kHbUQr7hr-b318QQi7gKwRKrWFdSbWY2u9vdZZ1xt029XypGzaIv16EeXJ32wKei-zrWQdEi3mWIOxBucB3CDKK7dhkiUdwBG8YK0HiksJYD" alt=""><figcaption></figcaption></figure>

You can then choose whatever icon and name that you want, but you need to have the URL be specifically, **<https://iframe.capriai.us/agents?location=\\{{location.id\\}}\\&token=YOUR\\_CAPRI\\_TOKEN>** with "YOUR\_CAPRI\_TOKEN" being the Capri token that you can find in the organizations tab in Capri!

<figure><img src="/files/3TKdAdBR66ZXviGR2VRZ" alt=""><figcaption></figcaption></figure>

After setting up the custom menu item, go back to the [Capri Settings/Channels](https://beta.capriai.us/home/settings/channels) page, and either **choose a connected CRM account, or connect a new one**. Once connected, you should see an alert on that channel that no agents are linked.

<figure><img src="/files/SfbVoN4AK0Ktm41xiirU" alt=""><figcaption></figcaption></figure>

Finally, click on the **pencil icon** on the channel account you just connected, and choose which bot you want to connect to that account!

<figure><img src="/files/mX7FzoJhwvxHKdaJNOy2" alt=""><figcaption></figcaption></figure>

After you have the agent linked here, it will be the one displayed in the emulator for the custom menu item, and you'll be good to go!


---

# 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.capriai.us/capri-portal/using-the-emulator/adding-the-emulator-as-a-custom-menu-item.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.
