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

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

Share Gleap with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools (11 read-only).

---

To give your team Gleap in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Gleap integration in a Metorial portal, and each person connects with an API key. Agents can manage customer feedback, bug reports, and support tickets. The integration has 22 tools, 11 read-only, 5 write and 6 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Gleap 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 `projectId` |

### API Key

To connect, a person enters these values:

- `token`: API key from Gleap dashboard (Project > Settings > Security)
- `projectId`: Project ID from Gleap dashboard (Project > Settings > Security)

## Admin: share Gleap 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 Gleap. 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 Gleap.

4. **Choose who gets it**

   Add the access groups that should see Gleap. 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 Gleap integration. Once it exists, check which groups have it:

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

## Employee: connect Gleap

### In the portal

1. **Open Gleap in the catalog**

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

2. **Authenticate**

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

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 gleap
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Gleap 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 gleap
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 11 read-only tools, such as `get_ticket` and `get_article`, and lose the 5 write tools, such as `send_message` or `create_ticket`, and the 6 destructive tools, such as `manage_team` or `delete_ticket`.

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 gleap
metorial tools <integration-id>
metorial call <integration-id> list_collections -d '{}'
```

`metorial tools` lists the 22 tools, minus any you rejected. `list_collections` takes no input. It retrieves all help center collections (categories) for the project.

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

## Tools

### Read-only tools (11)

- `list_collections`: Retrieve all help center collections (categories) for the project.
- `list_articles`: Retrieve all articles within a help center collection, or search articles across all collections by keyword.
- `get_messages`: Retrieve messages and comments for a specific ticket. Needs `ticketId`.
- `get_session`: Retrieve a session (contact/user) by session ID or by user ID.
- `list_sessions`: Retrieve sessions (contacts/users) from Gleap.
- `get_ticket`: Retrieve a single support ticket by its ID, including all metadata, status, priority, assignment, and content. Needs `ticketId`.
- `list_tickets`: Query and retrieve support tickets from Gleap.
- `list_engagements`: List engagement campaigns of a specific type. Needs `engagementType`.
- `list_project_users`: List teammates who can access the connected project, including project and organization members.
- `get_current_user`: Retrieve the authenticated Gleap teammate or service account identity.
- `get_article`: Retrieve a help center article and its stored content.

### Write tools (5)

- `send_message`: Add a message or comment to a ticket. Needs `ticketId` and `text`.
- `create_session`: Create a new session (contact/user) in Gleap.
- `update_session`: Update a session (contact/user) in Gleap. Needs `sessionId`.
- `create_ticket`: Create a new support ticket in Gleap.
- `update_ticket`: Update an existing support ticket. Needs `ticketId`.

### Destructive tools (6)

- `manage_engagement`: Create, update, or delete engagement campaigns in Gleap. Needs `action` and `engagementType`.
- `manage_collection`: Create, update, or delete a help center collection (category). Needs `action`.
- `manage_team`: Create, update, or delete teams within a project. Needs `action`.
- `manage_article`: Create, update, or delete a help center article within a collection. Needs `action` and `collectionId`.
- `manage_ai_content`: Create, update, retrieve, or delete AI content that powers Gleap's AI assistant (Kai). Needs `action`.
- `delete_ticket`: Permanently delete a support ticket by its ID. Needs `ticketId`.

## Triggers

Gleap has 2 triggers, which fire on events in Gleap:

- `feedback_event`: Triggers when feedback is created, updated, or deleted in Gleap.
- `ticket_updated`: [Polling fallback] Polls for recently updated tickets.

## 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 Gleap there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Gleap on metorial.com](https://metorial.com/integrations/gleap): the integration overview