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

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

Share Decodo with your team in Claude, ChatGPT and Cursor through Metorial: API key or basic auth sign-in, 15 tools (10 read-only).

---

To give your team Decodo in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Decodo integration in a Metorial portal, and each person connects with an API key. Agents can scrape and extract structured data from websites using 100+ pre-built templates for eCommerce, search engines, and social media platforms. The integration has 15 tools, 10 read-only, 3 write and 2 destructive, plus 1 trigger.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Decodo 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 (Public API)** (default) | API token | `token` |
| **Basic Auth (Web Scraping API)** | Custom credentials | `username` and `password` |

The portal and `metorial setup` use **API Key (Public API)** unless someone picks another method.

### API Key (Public API)

To connect, a person enters:

- `token`: API key from the Decodo dashboard (Account Settings > API Keys)

### Basic Auth (Web Scraping API)

To connect, a person enters these values:

- `username`: Web Scraping API username from the Decodo dashboard
- `password`: Web Scraping API password from the Decodo dashboard

## Admin: share Decodo 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 Decodo. Under **Auth Method**, keep **API Key (Public API)** or pick another. 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 Decodo.

4. **Choose who gets it**

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

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

## Employee: connect Decodo

### In the portal

1. **Open Decodo in the catalog**

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

2. **Authenticate**

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

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

`catalog search` prints the catalog item ID. `metorial setup` uses **API Key (Public API)**. To connect with **Basic Auth (Web Scraping API)** 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 Decodo 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 decodo
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 10 read-only tools, such as `get_sub_user` and `list_sub_users`, and lose the 3 write tools, such as `create_sub_user` or `update_sub_user`, and the 2 destructive tools, such as `delete_sub_user` or `remove_whitelisted_ip`.

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

`metorial tools` lists the 15 tools, minus any you rejected. `list_sub_users` takes no input. It lists all active proxy sub-users on the account.

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

## Tools

### Read-only tools (10)

- `scrape_website`: Scrape a website in real-time using the Decodo Web Scraping API.
- `create_scrape_task`: Submit an asynchronous scraping task to the Decodo Web Scraping API.
- `get_subscriptions`: Retrieve current subscription details including traffic limits, validity period, user limits, and service type.
- `list_whitelisted_ips`: List all IP addresses that are whitelisted for proxy authentication.
- `list_sub_users`: List all active proxy sub-users on the account.
- `get_proxy_endpoints`: Retrieve available proxy endpoint types (random, sticky) with their available geo-locations.
- `get_sub_user_traffic`: Get traffic usage statistics for a specific proxy sub-user. Needs `subUserId` and `period`.
- `get_scrape_task_results`: Retrieve the status and results of an asynchronous scraping task. Needs `taskId`.
- `get_allocated_traffic_limit`: Get the total traffic limit allocated across your residential proxy sub-users, in GB.
- `get_sub_user`: Retrieve a residential proxy sub-user by ID, including current status, traffic usage, and traffic limit.

### Write tools (3)

- `update_sub_user`: Update an existing proxy sub-user's password, traffic limit, or auto-disable setting. Needs `subUserId`.
- `add_whitelisted_ips`: Add one or more IP addresses to the proxy whitelist. Needs `ips`.
- `create_sub_user`: Create a new proxy sub-user with specified credentials and optional traffic limits. Needs `username` and `password`.

### Destructive tools (2)

- `delete_sub_user`: Permanently delete a proxy sub-user by their ID. Needs `subUserId`.
- `remove_whitelisted_ip`: Remove an IP address from the proxy whitelist by its whitelist entry ID. Needs `whitelistId`.

## Triggers

Decodo has 1 trigger, which fire on events in Decodo:

- `account_events`: Receive webhook notifications for Smartproxy/Decodo account events including payment failures, billing alerts, traffic usage thresholds, subscription changes, and account status.

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