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

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

Share Apify with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 19 tools (6 read-only).

---

To give your team Apify in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Apify integration in a Metorial portal, and each person connects with an API token. Agents can run, schedule, and manage web scraping and browser automation Actors. The integration has 19 tools, 6 read-only, 3 write and 10 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

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

### API Token

To connect, a person enters:

- `apiToken`: Apify API token from the Integrations page in the Apify Console

## Admin: share Apify 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 Apify. For how members connect, choose **Each person connects** so everyone enters their own API token, or **Shared connection** to enter one API token for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Apify

### In the portal

1. **Open Apify in the catalog**

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

2. **Authenticate**

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

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

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Apify 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 apify
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 6 read-only tools, such as `get_run` and `list_runs`, and lose the 3 write tools, such as `run_actor` or `build_actor`, and the 10 destructive tools, such as `abort_run` or `manage_run`.

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

`metorial tools` lists the 19 tools, minus any you rejected. `get_account` takes no input. It gets the authenticated Apify account profile and available account metadata from the API token.

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

## Tools

### Read-only tools (6)

- `list_runs`: List Apify Actor runs either account-wide or for a specific Actor.
- `get_dataset_items`: Retrieve or export items from an Apify dataset.
- `get_run`: Retrieve an Apify Actor run by ID, optionally including JSON dataset items or the run log as a Slate attachment. Needs `runId`.
- `list_actors`: List Actors owned by the authenticated Apify account.
- `search_store_actors`: Search public Apify Store Actors.
- `get_account`: Get the authenticated Apify account profile and available account metadata from the API token.

### Write tools (3)

- `run_actor`: Start an Apify Actor run. Needs `actorId`.
- `push_dataset_items`: Append JSON objects to an Apify dataset. Needs `datasetId` and `items`.
- `build_actor`: Start an Apify Actor build, retrieve build details, or list builds for an Actor. Needs `action`.

### Destructive tools (10)

- `manage_task`: Create, get, update, delete, list, or run Apify Actor Tasks. Needs `action`.
- `manage_actor`: Get, create, update, or delete an Apify Actor owned by the authenticated account. Needs `action`.
- `abort_run`: Abort a running Apify Actor execution. Needs `runId`.
- `manage_webhook`: Create, get, update, test, delete, or list Apify webhooks for Actor run and build events. Needs `action`.
- `manage_schedule`: Create, get, update, delete, or list Apify schedules that run Actors or Actor Tasks on a cron expression. Needs `action`.
- `manage_key_value_store`: Manage Apify key-value stores and records. Needs `action`.
- `manage_request_queue`: Manage Apify request queues and queued crawler requests. Needs `action`.
- `manage_dataset`: List, get, create, update, or delete Apify datasets. Needs `action`.
- `manage_actor_version`: List, get, create, update, or delete Apify Actor versions. Needs `action`.
- `manage_run`: Get or manage Apify Actor run lifecycle actions beyond cancellation, including resurrect, reboot, update, and delete. Needs `action`.

## Triggers

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

- `actor_build_event`: Triggers when an Actor build is created, succeeds, fails, is aborted, or times out.
- `actor_run_event`: Triggers when an Actor run is created, succeeds, fails, is aborted, times out, or is resurrected.

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