> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Salesmate in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/salesmate
Last updated: 2026-11-24

Share Salesmate with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 40 tools (18 read-only).

---

To give your team Salesmate in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Salesmate integration in a Metorial portal, and each person connects with an API key. Agents can manage sales pipelines, contacts, companies, deals, and activities in a CRM platform. The integration has 40 tools, 18 read-only, 15 write and 7 destructive, plus 5 triggers.

**What you will learn**

- How an admin shares Salesmate in a portal and how each person connects
- What Salesmate asks for when you connect, and where to find it
- How to keep the 18 read-only tools and reject the other 22

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Salesmate for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `token` and `linkname` |

### API Key

To connect, a person enters these values:

- `token`: Your Salesmate API access token. Found under My Account > Access Key.
- `linkname`: Your Salesmate instance hostname (e.g., "demo" if your dashboard URL is demo.salesmate.io)

### Setup settings

Setup also asks for:

- `domain`: Your Salesmate subdomain (e.g., if your dashboard URL is demo.salesmate.io, enter "demo")

## Admin: share Salesmate in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Salesmate. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Salesmate.

4. **Choose who gets it**

   Add the access groups that should see Salesmate. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Salesmate integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search salesmate
```

## Employee: connect Salesmate

### In the portal

1. **Open Salesmate in the catalog**

   Sign in to your portal and open Salesmate. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (token and linkname).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search salesmate
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Salesmate connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list salesmate
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 18 read-only tools, such as `get_deal` and `get_note`, and lose the 15 write tools, such as `create_deal` or `create_note`, and the 7 destructive tools, such as `delete_deal` or `delete_note`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list salesmate
metorial tools <integration-id>
metorial call <integration-id> list_users -d '{}'
```

`metorial tools` lists the 40 tools, minus any you rejected. `list_users` takes no input. It lists active users in the Salesmate account.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (18)

- `search_activities`: Search and list activities in Salesmate using filters. Needs `fields`.
- `search_products`: Search and list products in the Salesmate product catalog using filters. Needs `fields`.
- `search_deals`: Search and list deals in Salesmate using filters. Needs `fields`.
- `search_contacts`: Search and list contacts in Salesmate using filters. Needs `fields`.
- `get_ticket`: Retrieve a support ticket by its ID from Salesmate. Needs `ticketId`.
- `search_tickets`: Search and list support tickets in Salesmate using filters. Needs `fields`.
- `search_companies`: Search and list companies in Salesmate using filters. Needs `fields`.
- `get_product`: Retrieve a product by its ID from the Salesmate product catalog. Needs `productId`.
- `list_users`: List active users in the Salesmate account.
- `get_company`: Retrieve a company by its ID from Salesmate. Needs `companyId`.
- `get_user`: Retrieve a specific active user by their ID from Salesmate. Needs `userId`.
- `get_deal`: Retrieve a deal by its ID from Salesmate. Needs `dealId`.
- `get_note`: Retrieve a note by its ID from Salesmate. Needs `noteId`.
- `get_activity`: Retrieve an activity by its ID from Salesmate. Needs `activityId`.
- `get_contact`: Retrieve a contact by its ID from Salesmate. Needs `contactId`.
- `get_current_user`: Retrieve the authenticated Salesmate user, including their ID, name, email, role, and profile.
- `list_notes`: List notes for a Salesmate record, including note IDs, content, authors, and pinned state.
- `get_module_id`: Resolve the Salesmate module ID for a module API name, including custom modules.

### Write tools (15)

- `create_product`: Create a new product in the Salesmate product catalog. Needs `name` and `owner`.
- `create_contact`: Create a new contact in Salesmate CRM. Needs `lastName` and `owner`.
- `update_contact`: Update an existing contact in Salesmate. Needs `contactId`.
- `create_note`: Add a note to a contact, company, deal, or activity in Salesmate. Needs `description`, `owner`, `linkedModule` and `linkedRecordId`.
- `create_ticket`: Create a new support ticket in Salesmate. Needs `title` and `owner`.
- `create_company`: Create a new company in Salesmate. Needs `name` and `owner`.
- `update_activity`: Update an existing activity in Salesmate. Needs `activityId`.
- `create_activity`: Create a new activity (task, call, meeting, etc.) in Salesmate. Needs `title`, `owner` and `type`.
- `update_deal`: Update an existing deal in Salesmate. Needs `dealId`.
- `update_ticket`: Update an existing support ticket in Salesmate. Needs `ticketId`.
- `update_note`: Update an existing note in Salesmate. Needs `noteId`.
- `create_deal`: Create a new deal in a Salesmate pipeline. Needs `title`, `owner`, `primaryContact`, `pipeline`, `status`, `stage` and `currency`.
- `update_product`: Update an existing product in the Salesmate product catalog. Needs `productId`.
- `update_company`: Update an existing company in Salesmate. Needs `companyId`.
- `create_product_variant`: Create a named variant of an existing Salesmate product with its own sale price and currency.

### Destructive tools (7)

- `delete_ticket`: Delete a support ticket from Salesmate by its ID. Needs `ticketId`.
- `delete_contact`: Delete a contact from Salesmate by its ID. Needs `contactId`.
- `delete_note`: Delete a note from Salesmate by its ID. Needs `noteId`.
- `delete_deal`: Delete a deal from Salesmate by its ID. Needs `dealId`.
- `delete_product`: Delete a product from the Salesmate product catalog by its ID. Needs `productId`.
- `delete_activity`: Delete an activity from Salesmate by its ID. Needs `activityId`.
- `delete_company`: Delete a company from Salesmate by its ID. Needs `companyId`.

## Triggers

Salesmate has 5 triggers, which fire on events in Salesmate:

- `contact_events`: Triggers when contacts are created or updated in Salesmate.
- `deal_events`: Triggers when deals are created or updated in Salesmate.
- `inbound_webhook`
- `activity_events`: Triggers when activities (tasks, calls, meetings) are created or updated in Salesmate.
- `company_events`: Triggers when companies are created or updated in Salesmate.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Salesmate there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Salesmate on metorial.com](https://metorial.com/integrations/salesmate): the integration overview