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

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

Share Agiled with your team in Claude, ChatGPT and Cursor through Metorial: API key & brand sign-in, 30 tools (14 read-only).

---

To give your team Agiled in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Agiled integration in a Metorial portal, and each person connects with an API key & brand. Agents can manage business operations including CRM, projects, finances, and HR in one platform. The integration has 30 tools, 14 read-only, 15 write and 1 destructive, plus 10 triggers.

**What you will learn**

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

**Before you start**

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

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key & Brand** (default) | Custom credentials | `token` and `brand` |

Also available: **Public API Key**.

The portal and `metorial setup` use **API Key & Brand** unless someone picks another method.

### API Key & Brand

To connect, a person enters these values:

- `token`: Your Agiled API key. Found under Profile → API Settings tab.
- `brand`: Your Agiled brand/domain name (e.g. "my-company"). Found in the browser address bar or under Profile → Brands.

## Admin: share Agiled 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 Agiled. Under **Auth Method**, keep **API Key & Brand** or pick another. For how members connect, choose **Each person connects** so everyone enters their own API key & brand, or **Shared connection** to enter one API key & brand for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Agiled

### In the portal

1. **Open Agiled in the catalog**

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

2. **Authenticate**

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

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

`catalog search` prints the catalog item ID. `metorial setup` uses **API Key & Brand**. To connect with **Public API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Agiled 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 agiled
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 14 read-only tools, such as `get_deal` and `get_task`, and lose the 15 write tools, such as `create_deal` or `create_task`, and the destructive tool `delete_contact`.

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

`metorial tools` lists the 30 tools, minus any you rejected. `get_user` takes no input. It retrieves a user account by ID, or list all users in the Agiled workspace.

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

## Tools

### Read-only tools (14)

- `get_employee`: Retrieve an employee by ID, or list employees with pagination.
- `get_user`: Retrieve a user account by ID, or list all users in the Agiled workspace.
- `get_contract`: Retrieve a contract by ID, or list contracts with pagination.
- `get_estimate`: Retrieve an estimate by ID, or list estimates with pagination.
- `get_task`: Retrieve a task by ID, or list tasks with pagination.
- `get_ticket`: Retrieve a support ticket by ID, or list tickets with pagination.
- `get_invoice`: Retrieve an invoice by ID, or list invoices with pagination.
- `get_product`: Retrieve a product by ID, or list products with pagination.
- `get_contact`: Retrieve a contact by ID, or list contacts with pagination.
- `get_deal`: Retrieve a deal by ID, or list deals with pagination.
- `get_project`: Retrieve a project by ID, or list projects with pagination.
- `get_time_entries`: List tracked time with optional project, task, user, and date filters.
- `get_current_user`: Retrieve the authenticated public API token context, including its workspace ID and abilities.
- `get_accounts`: List CRM accounts with optional name and email filters, pagination, sorting, and related contacts.

### Write tools (15)

- `create_employee`: Create a new employee record in Agiled. Needs `name` and `email`.
- `create_contact`: Create a new contact (client, lead, or prospect) in Agiled. Needs `name`.
- `create_deal`: Create a new deal in the Agiled CRM pipeline. Needs `name`.
- `create_contract`: Create a new contract in Agiled. Needs `subject` and `clientId`.
- `create_product`: Create a new product in Agiled. Needs `name` and `price`.
- `create_invoice`: Create a new invoice in Agiled. Needs `clientId`, `issueDate` and `dueDate`.
- `create_expense`: Create a new expense record in Agiled. Needs `itemName` and `price`.
- `create_estimate`: Create a new estimate in Agiled. Needs `clientId` and `validTill`.
- `update_task`: Update an existing task in Agiled. Needs `taskId`.
- `update_project`: Update an existing project in Agiled. Needs `projectId`.
- `create_project`: Create a new project in Agiled. Needs `name`.
- `create_ticket`: Create a new support ticket in Agiled. Needs `subject`.
- `update_contact`: Update an existing contact's details in Agiled. Needs `contactId`.
- `create_task`: Create a new task in Agiled. Needs `title`.
- `create_time_entry`: Log a new time entry in Agiled. Needs `projectId`, `startTime` and `endTime`.

### Destructive tools (1)

- `delete_contact`: Permanently delete a contact from Agiled. Needs `contactId`.

## Triggers

Agiled has 10 triggers, which fire on events in Agiled:

- `new_employee`: Triggers when a new employee is created in Agiled.
- `new_estimate`: Triggers when a new estimate is created in Agiled.
- `new_contract`: Triggers when a new contract is created in Agiled.
- `inbound_webhook`
- `new_product`: Triggers when a new product is created in Agiled.
- `new_task`: Triggers when a new task is created in Agiled.
- `new_ticket`: Triggers when a new support ticket is created in Agiled.
- `new_invoice`: Triggers when a new invoice is created in Agiled.
- `new_contact`: Triggers when a new contact (account) is created in Agiled.
- `new_project`: Triggers when a new project is created in Agiled.

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