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

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

Share Ragic with your team in Claude, ChatGPT and Cursor through Metorial: API key or email & password sign-in, 13 tools (6 read-only).

---

To give your team Ragic in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Ragic integration in a Metorial portal, and each person connects with an API key. Agents can manage records in Ragic database sheets with filters, full-text search, sorting, and pagination. The integration has 13 tools, 6 read-only, 6 write and 1 destructive, plus 1 trigger.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Ragic 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** (default) | API token | `apiKey` |
| **Email & Password** | Custom credentials | `serverDomain`, `email` and `password` |

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

### API Key

To connect, a person enters:

- `apiKey`: Ragic API key. Generate it from Personal Settings > Profile in your Ragic account.

### Email & Password

To connect, a person enters these values:

- `serverDomain`: Ragic server domain (e.g., www.ragic.com, na3.ragic.com)
- `email`: Your Ragic account email address
- `password`: Your Ragic account password

### Setup settings

Whichever method you pick, setup also asks for:

- `serverDomain` (optional): Ragic server domain (e.g., www.ragic.com, na3.ragic.com, ap5.ragic.com, eu2.ragic.com). Must match the server where your account resides.
- `accountName`: Your Ragic account/database name as it appears in the URL path (e.g., "demo" in https://www.ragic.com/demo/sales/1)

## Admin: share Ragic 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 Ragic. Under **Auth Method**, keep **API Key** 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 Ragic.

4. **Choose who gets it**

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

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

## Employee: connect Ragic

### In the portal

1. **Open Ragic in the catalog**

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

2. **Authenticate**

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

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

`catalog search` prints the catalog item ID. `metorial setup` uses **API Key**. To connect with **Email & Password** 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 Ragic 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 ragic
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_record` and `get_file_url`, and lose the 6 write tools, such as `add_comment` or `lock_record`, and the destructive tool `delete_record`.

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 ragic
metorial tools <integration-id>
metorial call <integration-id> get_file_url -d '{"fileReference":"<file-reference>"}'
```

`metorial tools` lists the 13 tools, minus any you rejected. `get_file_url` needs `fileReference`, so replace the placeholders. 

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

## Tools

### Read-only tools (6)

- `list_action_buttons`: Retrieve all available action buttons configured on a Ragic sheet. Needs `tabFolder` and `sheetIndex`.
- `get_file_url`: Prepare a downloadable file or image from a Ragic record and return its provider URL. Needs `fileReference`.
- `export_record`: Export a single record from a Ragic sheet in various formats: HTML, PDF, Excel, Mail Merge, or Custom Print Report. Needs `tabFolder`, `sheetIndex`, `recordId` and `format`.
- `get_record`: Retrieve a single record by its ID from a Ragic sheet. Needs `tabFolder`, `sheetIndex` and `recordId`.
- `list_records`: Query and retrieve records from a Ragic sheet with optional filtering, search, sorting, and pagination. Needs `tabFolder` and `sheetIndex`.
- `get_sheet_schema`: Discover field IDs, types, and subtables before reading or writing a Ragic sheet.

### Write tools (6)

- `add_comment`: Add a comment to a specific record in a Ragic sheet. Needs `tabFolder`, `sheetIndex`, `recordId` and `comment`.
- `lock_record`: Lock or unlock a record in a Ragic sheet. Needs `tabFolder`, `sheetIndex`, `recordId` and `lock`.
- `create_record`: Create a new record in a Ragic sheet. Needs `tabFolder`, `sheetIndex` and `fields`.
- `execute_action_button`: Trigger a pre-configured action button on a specific record in a Ragic sheet. Needs `tabFolder`, `sheetIndex`, `recordId` and `buttonId`.
- `update_record`: Update an existing record in a Ragic sheet. Needs `tabFolder`, `sheetIndex`, `recordId` and `fields`.
- `upload_file`: Upload a file or image from an accessible HTTPS URL into a Ragic file/image field.

### Destructive tools (1)

- `delete_record`: Permanently delete a record from a Ragic sheet by its record ID. Needs `tabFolder`, `sheetIndex` and `recordId`.

## Triggers

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

- `record_changes`: Fires when records are created, updated, or deleted in a Ragic sheet.

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