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

# Connected AI Clients

> Connect an AI client such as Claude or ChatGPT to your workspace and review what it did

## Overview

With **Connected AI clients**, you work with your workspace's data from an AI
client you already use — Claude, ChatGPT, or Claude Code. You connect the client
once with your own LeadToBill account; from then on it can look up and change
records in the workspace with your role's permissions, and every call it makes is
listed in the **Call log**.

> [card] [Open Connected AI clients](https://app.leadtobill.com/settings/connected-clients)
>
> See the server address, the connection steps, and your call log.

## Before you start

* **Admins only.** An Admin must allow connected AI clients for the workspace
  first. The feature is off until then, and the **Connected AI clients** entry in
  the user menu is hidden.
* Every role can connect a client once the feature is allowed. The client acts in
  your own role — see [Roles](https://docs.leadtobill.com/guides/roles.md).
* You need an account with the AI client you want to connect. Whether custom
  connections are available there depends on that client and your plan with its
  provider.
* **Your data is sent to the AI client you connect and processed under its
  provider's terms, not by LeadToBill.** Connect only clients your workspace is
  comfortable sharing its data with.

## Steps

**1. Allow connected AI clients for the workspace**

**Admins only.** Open **Administration → AI**
([AI settings](https://docs.leadtobill.com/settings/ai.md)) and go to the section **Connected AI clients
(MCP)**. Turn on the switch before the section's name. **Allow connected AI
clients?** asks for confirmation and states that every user of the workspace
can then connect an AI client, and where the data goes. Select **Allow**.

Switching it off again takes effect at once and needs no confirmation.

**2. Open the page and copy the server address**

Open the user menu in the header and select **Connected AI clients**.
Collaborators, Controllers, and Admins also find the same section under
**Administration → AI**.

The field **MCP server address** shows the address every client connects to.
Select **Copy address**. The address is the same for every user; each one signs
in with their own LeadToBill account when connecting.

**3. Add LeadToBill in your AI client**

The page shows the steps for each supported client, with the address already
filled in:

* **Connect Claude** — in Claude, open **Settings › Connectors** and add a
  custom connector. Enter LeadToBill as the name and the server address as the
  URL, then select **Connect**.
* **Connect ChatGPT** — in ChatGPT, open **Settings › Apps & Connectors** and
  turn on developer mode under the advanced settings. Create a connector named
  LeadToBill with the server address and OAuth as authentication.
* **Connect Claude Code** — select **Copy command** on the page and run the
  command in a terminal. Then run `/mcp` in Claude Code and select
  **leadtobill**.

**4. Sign in and allow the connection**

The client sends you to LeadToBill. Sign in with your LeadToBill account if you
are not signed in already. The page **Connect an app** then asks you to check
which app is asking and what it may access before allowing it.

A notice above the request states what you are granting: the app will be able
to read and change data in the workspace you choose, with the same permissions
as your role. If you belong to several workspaces, choose the one to connect.
Allow the request to finish, or decline it to stop.

**5. Work from the AI client**

Ask the client in your own words — for example to find a contact, list your
open tasks, track time on a project, or prepare a quote. The client decides
which LeadToBill actions to call for your request.

What it can reach follows your role:

* **Timekeeper** — find your projects and look one up, find tasks, and track
  your own time.
* **Collaborator** — also find and read contacts, quotes, and invoices, list the
  service catalog and unbilled time, and get an overview of the workspace. It
  can create and update contacts, create customer companies, leads, projects,
  and tasks, change a lead's status, create quotes and invoices from tracked
  time, and add items to them.
* **Controller** — also add service types to the catalog.
* **Admin** — also set your own hourly cost.

A connected client cannot send, cancel, or delete anything.

**6. Review the call log**

Select **Call log** at the end of the section's heading. It lists calls newest
first with **Time**, **AI client**, **Tool**, **Status**, and **Record**. Select
a record to open it in LeadToBill; expand a row to see the call's **Arguments**
and **Result**.

From the user menu, the log shows your own AI clients' calls. Under
**Administration → AI**, **Controllers and Admins** see every call of a
connected AI client in the workspace, with an additional **User** column.

Use **Filters** to narrow the list by date range, status, and record type —
and by user in the workspace view.

**7. Disconnect a client**

Remove the LeadToBill connector in the AI client itself.

**Admins only.** To stop all connected clients for the workspace at once, turn
off the switch under **Administration → AI**.

## Good to know

**The client acts as you.** It works with your account and your role in the
workspace you chose. It cannot see or change more than you can in LeadToBill, and
when your role changes, so does what the client can do.

**Changes are made in the workspace directly.** Unlike the in-app
[AI assistant](https://docs.leadtobill.com/features/ai-assistant.md), LeadToBill does not show a connected
client's changes as proposals to confirm. Whether you are asked before an action
runs depends on your AI client. Use the call log to check what was done.

**The call log stays readable while the feature is off.** The **Call log** button
is shown whether or not connected clients are currently allowed.

**Statuses in the call log.** **Executed** — the call ran. **Failed** — it ran and
ended with an error. **Refused** — it was turned down before anything ran.
**Running** — not finished yet. **Still running** — the client repeated a call
while the first attempt was still running. **Replayed** — the client repeated an
earlier call and received the earlier result, without it running again.
**Outcome unknown** — LeadToBill could not establish whether the call completed;
check the record.

**Call-log entries are kept for 180 days.** When a member leaves the workspace,
the entries of their calls are deleted.

**Record links follow your role.** A record in the call log opens in LeadToBill
only if your role can open that page; otherwise it is shown as plain text.

**The AI allowance is separate.** The monthly AI allowance on
[AI settings](https://docs.leadtobill.com/settings/ai.md) applies to the in-app assistant. A connected client
runs on your account with that client's provider.

## FAQ

**Why don't I see Connected AI clients in the user menu?**
The feature is switched off for the workspace. Ask an Admin to allow it under
**Administration → AI**.

**Where do I find the address to enter in my AI client?**
On the Connected AI clients page, in the field **MCP server address**. Use **Copy
address**. It is also shown beside the section's name while the section is
collapsed.

**Do my colleagues need their own address?**
No. The address is the same for everyone; each person signs in with their own
LeadToBill account when connecting.

**Can a connected client do more than I can?**
No. It has the same permissions as your role in the workspace you chose.

**Who can see what my AI client did?**
You see your own clients' calls. Controllers and Admins see every call in the
workspace under **Administration → AI**.

**What happens when an Admin switches the feature off?**
Connected clients can no longer work with the workspace, and the page shows
**Connected AI clients are switched off for this workspace. Ask an admin.** Calls
already logged remain in the call log.

**The page says "No connection request". What went wrong?**
That page opens only when an app asks to connect. Start the connection in your AI
client instead of opening the page directly.


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