Connect Shopify to Claude Code
Work with Shopify through Claude Code -- safely, without touching live themes.
Who this is for
Anyone working on a client Shopify store at BTT. Time needed: about 5 minutes. Requires SOP 0 (Claude Code installed).
What this does
After completing this SOP you can ask Claude things like:
- Update the product description for SKU ABC-123 on the client Shopify.
- Create a 20% off discount code that expires Friday.
- List all collections on this store and their product counts.
Before you start
- Claude Code installed and signed in (SOP 0)
- A Shopify Admin login for the store you will work on
Step 1 - Open the plugin browser
- Open Claude Code.
- In the chat box, type a forward slash:
/ - Type
pluginand click /plugin when it appears. - Press Enter. The plugin browser opens.
Step 2 - Install the Shopify plugin
- Search for Shopify in the plugin browser.
- Select the official shopify-plugin by Shopify.
- Click Install and wait for the confirmation.
Step 3 - Test it works
In the chat box, type:
Use the Shopify plugin to show me the shop info for the Shopify store I have connected.
The first time, Claude opens a browser window asking you to sign in to Shopify. After signing in, Claude should return the shop name, currency, and basic details.
Step 4 - Switch stores (only needed when working across multiple stores)
Use the Shopify plugin to switch to the store: [client-store-name].myshopify.com
Two hard rules -- read before every Shopify task
Rule 1 - Never edit a live theme. Duplicate first, always.
Before changing anything in the theme (templates, sections, snippets, CSS, JS):
- Ask Claude: Duplicate the published theme on this store and name the copy [YourName] -- [date].
- Wait for confirmation the duplicate exists.
- Tell Claude: From now on, edit only that duplicate.
- Check the preview URL of the duplicate.
- When happy, ask the AM or Chris before publishing. The AM publishes -- not you, not Claude.
If you skip the duplicate step and Claude edits the live theme, you can break the client storefront. There is no undo button.
Rule 2 - Never look at customer or order data
Do not ask Claude to list orders, show customers, pull email addresses, open abandoned checkouts, or look at payment data. If a task seems to require this, stop and Slack Chris. Customer PII must not pass through Claude -- UK GDPR.
OK to work with: products, collections, inventory counts (without buyer info), discount code creation, theme code, SEO metadata.