Set up Instacart in Metorial for Claude, ChatGPT and Cursor
Share Instacart with your team in Claude, ChatGPT and Cursor through Metorial: OAuth 2.0 client credentials or API key sign-in, 14 tools (6 read-only).
To give your team Instacart in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Instacart integration in a Metorial portal, and each person connects with OAuth 2.0 client credentials. Agents can create shoppable recipe and shopping-list pages, discover nearby retailers, and manage retailer delivery and pickup fulfillment with Instacart Developer Platform and Connect. The integration has 14 tools, 6 read-only, 7 write and 1 destructive, plus 3 triggers.
What you'll learn
- How an admin shares Instacart in a portal and how each person connects
- What Instacart asks for when you connect, and where to find it
- How to keep the 6 read-only tools and reject the other 8
Before you start
- A portal with at least one access group
- OAuth 2.0 client credentials from Instacart for each person, or one set 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 |
|---|---|---|
| OAuth 2.0 Client Credentials (Connect) (default) | Custom credentials | clientId, clientSecret and scopes |
| API Key (Developer Platform) | API token | apiKey |
The portal and metorial setup use OAuth 2.0 Client Credentials (Connect) unless someone picks another method.
OAuth 2.0 Client Credentials (Connect)
To connect, a person enters these values:
clientId: OAuth client ID provided by InstacartclientSecret: OAuth client secret provided by Instacartscopes: Comma-separated scopes, e.g. "connect:fulfillment,connect:post_checkout"
API Key (Developer Platform)
To connect, a person enters:
apiKey: API key from the Instacart Developer Dashboard
Setup settings
Whichever method you pick, setup also asks for:
environment(optional): The environment to use. Development uses connect.dev.instacart.tools, production uses connect.instacart.com. One of "production", "development".
Admin: share Instacart 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 Instacart. Under Auth Method, keep OAuth 2.0 Client Credentials (Connect) or pick another. For how members connect, choose Each person connects so everyone enters their own OAuth 2.0 client credentials, or Shared connection to enter the OAuth 2.0 client credentials once for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Instacart.
Choose who gets it
Add the access groups that should see Instacart. 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 Instacart integration. Once it exists, check which groups have it:
Employee: connect Instacart
In the portal
Open Instacart in the catalog
Sign in to your portal and open Instacart. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your OAuth 2.0 client credentials (clientId, clientSecret and scopes).
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 OAuth 2.0 Client Credentials (Connect). To connect with API Key (Developer Platform) 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 Instacart 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 6 read-only tools, such as get_order and find_stores, and lose the 7 write tools, such as create_user or create_order, and the destructive tool cancel_order.
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 14 tools, minus any you rejected. find_stores needs fulfillmentType, so replace the placeholders. It finds stores offering delivery, pickup, or last mile delivery near a location.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (6)
get_order: Retrieve details for a specific order or list all orders for a Connect user. NeedsuserId.find_stores: Find stores offering delivery, pickup, or last mile delivery near a location. NeedsfulfillmentType.list_cart_service_options: List available delivery or pickup time slots for a specific user and cart. NeedsuserId,fulfillmentTypeandlocationCode.get_nearby_retailers: Look up retailers available on Instacart Marketplace near a given postal code. NeedspostalCodeandcountryCode.preview_service_options: Preview available delivery or pickup time slots before a customer has signed in or started shopping. NeedsfulfillmentTypeandpostalCode.get_connect_user: Retrieve a fulfillment customer by the user ID your retailer application provided when creating the user.
Write tools (7)
create_recipe_page: Create a shoppable recipe page on Instacart Marketplace. Needstitleandingredients.sandbox_advance_order: Simulate order lifecycle progression in the sandbox/development environment. NeedsorderId.create_user: Create a Connect user account with an associated delivery address. NeedsuserId,firstName,addressLine1andpostalCode.create_order: Create a delivery or pickup order for a Connect user. NeedsfulfillmentType,userId,locationCodeanditems.create_shopping_list_page: Create a smart shopping list page on Instacart Marketplace. NeedstitleandlineItems.reserve_service_option: DEPRECATED — use `reserve_time_slot` instead. NeedsuserId,serviceOptionIdandlocationCode.reserve_time_slot: Reserve a time slot returned by List Cart Service Options using its ID or its desired-window reference.
Destructive tools (1)
cancel_order: Cancel an existing order. NeedsuserIdandorderId.
Triggers
Instacart has 3 triggers, which fire on events in Instacart:
item_events: Receives webhook notifications for item-level events during the picking process, including item_found, item_replaced, item_refunded, and item_not_picked.order_events: Receives webhook notifications for order lifecycle events including status changes (brand_new, acknowledged, picking, checkout, staged, delivering, delivered, rescheduled, canceled).delivery_events: Receives webhook notifications for delivery tracking events including order_location (GPS updates), late_delivery, late_pickup, customer_missing, at_store_eta, and last mile events (at_store, acknowledged_for_delivery, bags_verified, arrival_at_customer).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Instacart there
- Tool permissions: tool filters and what employees see
- Instacart on metorial.com: the integration overview