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

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

Share Basin with your team in Claude, ChatGPT and Cursor through Metorial: basin API key sign-in, 21 tools (9 read-only).

---

To give your team Basin in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Basin integration in a Metorial portal, and each person connects with a basin API key. Agents can manage no-code form backends, submissions, and spam filtering. The integration has 21 tools, 9 read-only, 8 write and 4 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

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

### Basin API Key

To connect, a person enters:

- `token`: Your Basin account API key. Found under "My Account" → "Basin API" tab. Provides access to all forms, submissions, domains, and projects in your account.

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

4. **Choose who gets it**

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

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

## Employee: connect Basin

### In the portal

1. **Open Basin in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your basin 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 basin
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Basin 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 basin
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 9 read-only tools, such as `get_form` and `list_forms`, and lose the 8 write tools, such as `create_form` or `update_form`, and the 4 destructive tools, such as `delete_form` or `delete_project`.

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

`metorial tools` lists the 21 tools, minus any you rejected. `list_forms` takes no input. It lists form endpoints in your Basin account.

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

## Tools

### Read-only tools (9)

- `list_forms`: List form endpoints in your Basin account.
- `list_projects`: List projects in your Basin account.
- `list_domains`: List domains associated with your Basin account.
- `list_submissions`: Retrieve form submissions with filtering, search, and sorting.
- `get_form`: Retrieve detailed information about a specific form endpoint, including its configuration, spam settings, notification preferences, and submission counts. Needs `formId`.
- `list_webhooks`: List form webhooks configured in your Basin account.
- `get_submission`: Retrieve detailed information about a specific form submission, including all form field data, spam status, attachments, and metadata. Needs `submissionId`.
- `get_project`: Retrieve a Basin project by ID.
- `get_webhook`: Retrieve a webhook configuration and delivery failure status.

### Write tools (8)

- `create_form`: Create a new form endpoint in Basin. Needs `name`.
- `refire_webhooks`: Re-trigger webhook delivery for one or more submissions. Needs `submissionIds`.
- `update_form`: Update an existing form endpoint's settings. Needs `formId`.
- `update_webhook`: Update an existing webhook's configuration, including its target URL, payload format, spam behavior, and enabled status. Needs `webhookId`.
- `update_project`: Rename an existing project in your Basin account. Needs `projectId` and `name`.
- `create_project`: Create a new project to organize forms in your Basin account. Needs `name`.
- `update_submission`: Update a submission's status flags. Needs `submissionId`.
- `create_webhook`: Create a new webhook on a form. Needs `formId`, `name` and `url`.

### Destructive tools (4)

- `delete_project`: Permanently delete a project. Needs `projectId`.
- `delete_form`: Permanently delete a form endpoint and all its associated data including submissions. Needs `formId`.
- `delete_webhook`: Permanently delete a webhook from a form. Needs `webhookId`.
- `delete_submission`: Permanently delete a form submission. Needs `submissionId`.

## Triggers

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

- `inbound_webhook`
- `new_submission`: Triggers when a new form submission is received in Basin.

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