Connect tools
Shopify
Install the Agentmatica app on your store and the agent can search your catalog, build carts, hand shoppers a checkout link, and look up orders, all from the chat.
Install from Shopify
- Install Agentmatica from the Shopify App Store. Opening the app sends you to agentmatica.com.
- Sign up with your email (we send you a sign-in code), or sign in if you already have an account.
- Approve the connection. You land in the dashboard with the store connected: catalog, cart, checkout links, and order lookup are on.
- Open Deploy and click Open theme editor. Under App embeds, Agentmatica Chat is already pointed at your agent. Switch it on if it isn't, then click Save. You don't need to paste the Agent ID.
If you signed up this way, your plan is billed through Shopify. Plan changes start on Billing & Usage and open Shopify's plan page in your store admin. See Billing & quotas.
Already have an account? Connect from the dashboard
- Open the agent and go to Integrations → Live Commerce & APIs.
- Enter your
.myshopify.comdomain and click Connect Shopify. This links the catalog, cart, and read-only order lookup. Your existing billing stays as it is. - Add the widget with the app embed above, or with the Liquid snippet on the Manual embed tab of Deploy (see Deploy the widget).
The next chat message uses the store tools automatically. No widget rebuild.

Manual alternative: Storefront MCP URL
If you only want catalog and cart, without order lookup, you can paste your store's Storefront MCP URL into the fallback field on the Shopify card instead of connecting. Shopify serves the catalog and cart tools over UCP at this address:
https://your-store.myshopify.com/api/ucp/mcpIf you paste an older /api/mcp address, Agentmatica saves it as /api/ucp/mcp on the same store.
Use the .myshopify.com address even if your store has a custom domain.
What the agent can do
- Search the catalog by name, attribute, or natural language (“under $50”, “in stock”, “wide width”).
- Recommend products based on what the visitor described.
- Build carts with specific variants and quantities.
- Generate checkouts and share the URL with the visitor.
- Pull order status for guests (order number + email) or automatically for shoppers already logged into the storefront. Order changes need the shopper to sign in.
Logged-in shoppers (order status without re-asking)
The app adds a Shopify App Proxy at /apps/agentmatica. With the app embed on, the widget asks it for a short-lived customer token whenever a customer is logged in. Agentmatica verifies the token once and stores the identity on the conversation, so the agent doesn't ask for an email or order number again in that chat.
On the manual Liquid snippet, keep the data-amk-logged-in and data-amk-customer-token-url="/apps/agentmatica/customer-token" attributes that Deploy pre-fills. If you connected Shopify before App Proxy scopes were added, reconnect from Integrations so the install includes write_app_proxy.
The App Proxy token only works with classic customer accounts. With new customer accounts, Shopify doesn't pass the signed-in customer to the App Proxy, so the token request fails. On those stores, when the agent needs the shopper's orders, the chat shows a Sign in to view your orders button. It opens Shopify's own sign-in in a new tab. After the shopper signs in, Agentmatica stores the identity on the conversation, as it does with the App Proxy token. There is nothing to set up.
Cart and checkout
When add to cart is on, items the agent adds go into the shopper's store cart, not a separate chat cart. The widget updates the theme cart and asks the theme to refresh its cart icon and drawer, so shoppers see the item without opening the checkout link. If the shopper already had items in the cart, the chat starts from those.
Limits to know about:
- The agent adds a variant and a quantity. It can't add an item on a subscription (selling plan) yet.
- Updating the store cart uses the Online Store theme's cart. On a headless storefront, such as Hydrogen, that step doesn't apply.
How it shows in the widget
When the agent calls search_catalog, matching products render as cards inside the conversation — image, title, price, link. The agent writes a short intro/outro around them, not a duplicate list of names and prices.
Post-purchase actions (optional)
After OAuth is connected, open Order lookup (WISMO) and enable Post-purchase agent actions. These actions are off by default:
- Cancel unfulfilled orders (refund original payment, or cancel without refund)
- Update shipping address on unfulfilled orders (same country/state by default)
- Create returns on fulfilled line items
Enabling a write action requires reconnecting Shopify so the install can add write_orders and, for returns, write_returns. The agent only runs these for logged-in Shopify customers, after they confirm in chat. Guests stay on read-only order lookup or get escalated.
Order tags
Orders your agent is credited with get the tag Agentmatica in Shopify, so you can filter for them in your orders list. The tag is added to new orders only, needs the write_orders permission, and leaves your other tags alone. To turn it off, switch off Tag agent orders in Shopify under Order lookup (WISMO).
Permissions
The catalog and cart use Shopify's public Storefront MCP, served over UCP at /api/ucp/mcp. The app adds read access to customers and orders for order lookup, plus the App Proxy so logged-in identity can be proven without sharing storefront cookies with Agentmatica. The app also asks for permission to edit orders and returns. It uses that for the post-purchase actions you enable and for order tags.