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

# Connecting Lemhi to Neo

> Create an API key in Lemhi and save it in Neo

You connect Lemhi once at the MSP level. One API key covers every client of your MSP in Lemhi.

## Before you start

* You need a **Tenant Admin** login in Lemhi. If **API Keys** is not in Lemhi's **Settings**, your login is not a Tenant Admin, or the API is not on for your account yet: ask Lemhi to turn it on.
* Compass tasks and playbooks exist only for clients that have Compass in Lemhi.
* Neo finds the Compass task behind a ticket by the ticket number Lemhi stores on the task, so turn on Lemhi's ConnectWise PSA or HaloPSA integration in Lemhi if you want Neo to work those tickets.

## 1. Create an API key

**1. Open API Keys**

Sign in to Lemhi as a Tenant Admin and open **Settings** > **API Keys**. Click **Create API key**.

**2. Name it and pick the scope**

Name the key "Neo". Pick **Read and write** so agents can update Compass tasks, or **Read-only** if agents only read Lemhi.

**3. Copy the secret**

Click **Create key** and copy the secret. Lemhi shows it only once. Keep it only in Neo.

## 2. Add the key in Neo

**1. Open Integrations**

In the Neo Dashboard, open **Integrations** and find the Lemhi card, under Customer Success.

**2. Save the key**

Paste the key into **API Key** and click **Save settings**. Neo checks the key with Lemhi before it saves, so a wrong or revoked key is rejected straight away. Neo accepts your own MSP's key, not a distributor key.

**3. Confirm the company matches**

After the save, Neo matches your Lemhi clients to your PSA companies. This usually takes under a minute. Open the card's [**Organization Mapping**](https://dashboard.neoagent.io/integrations?open=lemhi\&subtab=org-mapping\&mapping=to_confirm) tab on the **To confirm** filter, tick the matches that are right and click **Confirm**. Agents do not use a suggested match until you confirm it. The Lemhi card on the Integrations page shows how many matches wait. [Company Mapping](https://docs.neoagent.io/product/company-mapping.md#on-the-integrations-organization-mapping-tab) describes the rest of the tab.

## 3. Turn Lemhi on per agent

Open the agent that works your AI board tickets, go to its **Tools & Settings** tab, click **Customer Success**, and expand the **Lemhi** block. Pick a preset, or set each area yourself:

| Area | Notes |
| - | - |
| **Clients & AI Inventory** | Your clients, and per client the AI tools in use, use cases and roadmap, Copilot and Claude usage, and the AI Intel report. Read only. |
| **Compass Tasks** | A client's Compass tasks, steps, playbooks and summary. Write checks off steps, blocks, assigns, completes or creates a task. |

| Preset | What runs on its own | What asks a technician |
| - | - | - |
| **Read Only** | Every read | Nothing: Neo changes nothing in Lemhi |
| **Helpdesk** | Every read | Every Compass change |
| **IT Admin** | Every read and Compass change | Nothing |
| **Full Automation** | Every read and Compass change | Nothing |

To write notes on the ticket, the agent also needs your PSA's ticket note permissions.

See [Lemhi API](https://docs.neoagent.io/agents/tools/sales/lemhi-api.md) for what the agent can do.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.