Set up Bubble in Metorial for Claude, ChatGPT and Cursor
Share Bubble with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 10 tools (4 read-only).
To give your team Bubble in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Bubble integration in a Metorial portal, and each person connects with an API token. Agents can read and manage exposed Bubble data records, search with native filters, invoke configured API workflows, discover API schemas and download bounded JSON exports. The integration has 10 tools, 4 read-only, 3 write and 3 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Bubble in a portal and how each person connects
- What Bubble asks for when you connect, and where to find it
- How to keep the 4 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An API token from Bubble for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Token (default) | API token | token |
Also available: Public API.
The portal and metorial setup use API Token unless someone picks another method.
API Token
To connect, a person enters:
token: Bubble Admin API Token. Generate one in Settings → API in the Bubble editor.
Setup settings
Setup also asks for:
appBaseUrl: The base URL of your Bubble application API, e.g. "https://appname.bubbleapps.io/api/1.1" or "https://yourdomain.com/api/1.1". Must include the /api/1.1 path.
Admin: share Bubble in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Bubble. Under Auth Method, keep API Token or pick another. 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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Bubble.
Choose who gets it
Add the access groups that should see Bubble. 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 Bubble integration. Once it exists, check which groups have it:
Employee: connect Bubble
In the portal
Open Bubble in the catalog
Sign in to your portal and open Bubble. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses API Token. To connect with Public 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 Bubble 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.
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 4 read-only tools, such as get_record and get_api_spec, and lose the 3 write tools, such as create_record or update_record, and the 3 destructive tools, such as delete_record or replace_record.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 10 tools, minus any you rejected. get_api_spec takes no input. It retrieves the auto-generated Swagger/OpenAPI specification for a Bubble application.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (4)
export_records: Download a bounded JSON export of records visible through the Bubble Data API, with native filters and sorting.get_record: Retrieve a single record by its unique ID from a Bubble data type. NeedsdataTypeandrecordId.get_api_spec: Retrieve the auto-generated Swagger/OpenAPI specification for a Bubble application.search_records: Search and filter records in a Bubble data type. NeedsdataType.
Write tools (3)
update_record: Update specific fields of an existing record in a Bubble data type. NeedsdataType,recordIdandfields.create_record: Create a new record in a Bubble application data type (table). NeedsdataTypeandfields.bulk_create_records: Create multiple records in a Bubble data type in a single request. NeedsdataTypeandrecords.
Destructive tools (3)
delete_record: Permanently delete a record from a Bubble data type by its unique ID. NeedsdataTypeandrecordId.trigger_workflow: Trigger a server-side API workflow in a Bubble application. NeedsworkflowName.replace_record: Fully replace all fields of an existing record in a Bubble data type. NeedsdataType,recordIdandfields.
Triggers
Bubble has 2 triggers, which fire on events in Bubble:
record_changes: Detects new and modified records across all exposed Bubble data types by polling.inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Bubble there
- Tool permissions: tool filters and what employees see
- Bubble on metorial.com: the integration overview