Set up Shopify in Metorial for Claude, ChatGPT and Cursor
Share Shopify with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or access token sign-in, 20 tools (8 read-only).
To give your team Shopify in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Shopify integration in a Metorial portal, and each person signs in to Shopify with their own account. Agents can manage e-commerce stores including products, orders, customers, inventory, and fulfillment. The integration has 20 tools, 8 read-only, 11 write and 1 destructive, plus 5 triggers.
What you'll learn
- How an admin shares Shopify in a portal and how each person connects
- The 22 OAuth scopes Shopify can request, and what each one allows
- How to keep the 8 read-only tools and reject the other 12
Before you start
- A portal with at least one access group
- An account with Shopify for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Shopify OAuth (default) | OAuth | Signs in to Shopify after entering shopDomain |
| Access Token | API token | token |
The portal and metorial setup use Shopify OAuth unless someone picks another method.
Shopify OAuth
Before the sign-in, setup asks for:
shopDomain: Shop subdomain (e.g., "my-store" from "my-store.myshopify.com")
People sign in to Shopify and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
read_products | Read Products | View products, variants, and collections |
write_products | Write Products | Create and modify products, variants, and collections |
read_orders | Read Orders | View orders, transactions, and fulfillments |
write_orders | Write Orders | Create and modify orders |
read_all_orders | Read All Orders | View all orders (not limited to last 60 days) |
read_customers | Read Customers | View customer records and groups |
write_customers | Write Customers | Create and modify customer records |
read_inventory | Read Inventory | View inventory levels and locations |
write_inventory | Write Inventory | Modify inventory levels |
read_fulfillments | Read Fulfillments | View fulfillment details |
write_fulfillments | Write Fulfillments | Create and update fulfillments |
read_draft_orders | Read Draft Orders | View draft orders |
write_draft_orders | Write Draft Orders | Create and modify draft orders |
read_content | Read Content | View pages, blogs, and articles |
write_content | Write Content | Create and modify pages, blogs, and articles |
read_shipping | Read Shipping | View shipping rates and zones |
write_shipping | Write Shipping | Manage shipping rates and zones |
read_discounts | Read Discounts | View discount codes and price rules |
write_discounts | Write Discounts | Create and modify discount codes and price rules |
read_locations | Read Locations | View store locations |
read_themes | Read Themes | View themes |
write_themes | Write Themes | Create and modify themes |
Access Token
To connect, a person enters:
token: Shopify Admin API access token (from custom app or manual setup)
Setup settings
Whichever method you pick, setup also asks for:
shopDomain: The shop subdomain (e.g., "my-store" from "my-store.myshopify.com")apiVersion(optional): Shopify API version (e.g., "2026-01")
Use your own Shopify OAuth app
With your own OAuth app, people see your company's name on the Shopify consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Shopify and copy the Redirect URI.
Register the app with Shopify
Create an OAuth app or client in Shopify and add the redirect URI from Metorial as its redirect or callback URL.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Shopify integration.
Admin: share Shopify 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 Shopify. Under Auth Method, keep Shopify OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Shopify as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Shopify.
Choose who gets it
Add the access groups that should see Shopify. 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 Shopify integration. Once it exists, check which groups have it:
Employee: connect Shopify
In the portal
Open Shopify in the catalog
Sign in to your portal and open Shopify. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Shopify sign-in tab opens. Sign in and approve the permissions listed.
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 Shopify OAuth. To connect with Access Token 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 Shopify 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 8 read-only tools, such as get_shop and get_order, and lose the 11 write tools, such as manage_order or create_product, and the destructive tool delete_product.
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 20 tools, minus any you rejected. list_locations takes no input. It lists all store locations.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (8)
get_product: Retrieve a single product by ID with all details including variants, images, and options. NeedsproductId.get_order: Retrieve full details of a single order including line items, shipping address, billing address, customer info, transactions, fulfillments, and discount information. NeedsorderId.list_orders: Search and list orders from the Shopify store.get_customer: Retrieve full details of a single customer including addresses, order history summary, and marketing consent status. NeedscustomerId.list_products: Search and list products from the Shopify store.list_locations: List all store locations.get_shop: Retrieve the store's details including name, domain, email, currency, timezone, and plan information.list_customers: List or search customers in the Shopify store.
Write tools (11)
create_customer: Create a new customer record in the Shopify store.create_fulfillment: Create a fulfillment for an order. NeedsorderIdandlineItemsByFulfillmentOrder.manage_variants: Create, update, or delete product variants. NeedsactionandproductId.create_product: Create a new product in the Shopify store. Needstitle.update_customer: Update an existing customer's information including name, email, phone, tags, note, and tax exemption status. NeedscustomerId.manage_collections: List, create, update, or delete product collections. Needsaction.manage_order: Perform lifecycle actions on an order. NeedsorderIdandaction.manage_discounts: Create and manage discount codes and price rules. Needsaction.update_product: Update an existing product's details including title, description, vendor, type, tags, status, and images. NeedsproductId.manage_inventory: View and adjust inventory levels across locations. Needsaction.manage_draft_orders: Create, list, update, complete, or delete draft orders. Needsaction.
Destructive tools (1)
delete_product: Permanently delete a product and all its variants from the Shopify store. NeedsproductId.
Triggers
Shopify has 5 triggers, which fire on events in Shopify:
fulfillment_events: Triggers when fulfillments are created or updated on orders.product_events: Triggers when products are created, updated, or deleted in the Shopify store.inventory_events: Triggers when inventory levels are updated at any location.order_events: Triggers when orders are created, updated, cancelled, fulfilled, paid, or partially fulfilled in the Shopify store.customer_events: Triggers when customers are created, updated, deleted, enabled, or disabled in the Shopify store.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Shopify there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Shopify on metorial.com: the integration overview