How to Connect Claude to Shopify (2026): Connector, Claude Code and Skills

How to Connect Claude to Shopify (2026): Connector, Claude Code and Skills, video by Rihab Sebaaly

Quick answer

There are two ways to connect Claude to Shopify:

  • The official Shopify connector in Claude (one click, no code): in Claude, go to Customize → Connectors, add Shopify and sign in to your store. Claude can then read and update your products, collections, metafields and theme from a normal chat.
  • Claude Code + the Shopify AI Toolkit (a one-time terminal setup): install Claude Code, add Shopify's plugin, then give it an Admin API access token for your store. Use this when you want Claude to build custom theme sections, like a bundle builder.

Either way: always work on a duplicate theme, and export your products before bulk changes.

Claude can now connect to your Shopify store and actually do things inside it. Not only answer your questions: update your products, restructure collections, create metafield filters and build new sections in your theme while you watch.

I use Claude every day to run Shopify stores, mine and my coaching clients'. In this guide I'll show you both ways to connect it, step by step, and then how I turn Claude into a system that runs the repetitive parts of a Shopify business.

Should you use the Shopify connector or Claude Code?

Both connect Claude to your store. They're built for different jobs:

  • The Shopify connector is for managing your store: adding and editing products, rewriting descriptions, restructuring collections, filling metafields, creating filters and updating your theme. You work in a normal Claude chat (or Cowork), with no setup beyond signing in. You can connect one Shopify store at a time.
  • Claude Code is for building: custom sections, quizzes, sticky add-to-cart bars, trust badges, anything your theme doesn't have. It runs on your computer and writes theme code for you.

If you're not sure, start with the connector. It covers most daily store work, and you can add Claude Code later when you want custom features.

How do you connect Claude to Shopify with the official connector?

  1. Open Claude (the desktop app or claude.ai) and go to Customize → Connectors.
  2. Click Browse connectors and search for Shopify.
  3. Click the plus, then Connect. Claude opens your browser so you can sign in to your Shopify store and approve the access.
Browsing the Claude connectors directory to add the Shopify connector
Browsing the Claude connectors directory to add the Shopify connector

That's it: your store is connected. You only do this once. From now on, ask Claude things like "list my products with no product category", "rewrite these five descriptions for SEO" or "create a collection for all products tagged summer" and it works directly in your store, asking for your confirmation along the way.

I used it to add products, read descriptions and product information, restructure collections and create metafield filters, all while I was doing something else.

How do you connect Claude Code to Shopify, step by step?

Claude Code is a version of Claude that runs on your computer and takes real actions, like writing theme code and pushing it to your store. Normal Claude answers questions; Claude Code actually does things. The setup looks technical because it uses the terminal, but you only do it once and it's mostly copy and paste. You need a Claude account (a paid plan works best for regular use) and a Shopify store on any plan.

Before anything else, duplicate your theme: Online Store → Themes → the three dots next to your current theme → Duplicate. Claude Code will work on the copy, so your live store is never touched.

Step 1: Open the terminal and check Node.js

On a Mac, press Command + Space, type Terminal and press Enter. (On Windows, open Command Prompt.) Type node --version and press Enter. If you see a version number from 18 up, you're good. If you see "command not found", download Node.js from nodejs.org, install it like any app, then reopen the terminal.

Watch: terminal and Node.js setup (1:03)

Step 2: Install Claude Code

Paste the install command from Anthropic's Claude Code documentation into the terminal and press Enter. You'll see a lot of text loading; that's normal. When it's done, type claude and press Enter, log in with your Claude account and confirm you trust the folder. From now on, opening Claude Code is just opening the terminal and typing claude.

Watch: installing Claude Code (2:36)

Step 3: Add the Shopify AI Toolkit plugin

Shopify's official AI Toolkit connects Claude Code to Shopify's documentation and APIs, so it always knows the current rules for building Shopify features correctly. Inside Claude Code, run these two commands one at a time:

/plugin marketplace add Shopify/shopify-ai-toolkit
/plugin install shopify-plugin@shopify-plugin

Shopify's AI Toolkit documentation showing the two Claude Code commands to install the Shopify plugin
Shopify's AI Toolkit documentation showing the two Claude Code commands to install the Shopify plugin
Watch: connecting Claude to Shopify (4:01)

Step 4: Create an app and give it permissions

Now Claude Code needs permission to change your store. In your Shopify admin, go to Settings → Apps → Develop apps and create an app (name it anything, like "Claude Access"). Since January 2026, Shopify no longer lets you create new legacy custom apps from the admin, so you may be sent to the Dev Dashboard instead: create the app there, the logic is the same.

Shopify App development settings, with the notice about legacy custom apps and the Dev Dashboard
Shopify App development settings, with the notice about legacy custom apps and the Dev Dashboard

The most important part is the Admin API scopes. This app is the bridge between Claude and your store, and Claude can only do what you allow here. To build theme features, tick read_themes and write_themes. To edit products, add read_products and write_products. You can add or remove scopes later.

Choosing Admin API access scopes such as write_products and read_products for the Claude app in Shopify
Choosing Admin API access scopes such as write_products and read_products for the Claude app in Shopify

Save, then install the app. Shopify shows your Admin API access token once: reveal it, copy it and keep it somewhere private. It's the key to your store, so never share it or post it online.

Watch: configuring API permissions (5:20)

Step 5: Tell Claude Code which store to use

In the terminal, set your token and your store's original myshopify.com address (without https://):

export SHOPIFY_ACCESS_TOKEN=your-token
export SHOPIFY_STORE_URL=your-store.myshopify.com

These last until you close the terminal. To make them permanent on a Mac, add the same two lines to your ~/.zshrc file; on Windows, add them as user environment variables.

Step 6: Test the connection

Open Claude Code and ask: "List all the themes in my Shopify store." If it returns your live theme, your drafts and the duplicate you made, everything works. Then tell it: "All changes should be made to the theme called [your duplicate], not the live theme."

Claude Code listing the themes of a Shopify store in the terminal, confirming the connection works
Claude Code listing the themes of a Shopify store in the terminal, confirming the connection works
Watch: verifying the integration (7:50)

What can you build in your Shopify theme with Claude Code?

Anything your theme is missing. I asked Claude Code to build a bundle section: three products side by side, a pricing summary with the savings, and one button that adds all three to the cart and applies a discount code. I gave it a detailed prompt (which I also wrote with Claude), it ran for a few minutes, asked me to confirm a few things, and added the section to my Horizon theme. Horizon doesn't have this section by default.

The Bundle Builder section created by Claude Code in the Shopify theme editor, with product pickers and a discount code setting
The Bundle Builder section created by Claude Code in the Shopify theme editor, with product pickers and a discount code setting

In the theme editor it works like any other section: I can change the title, the button text and the discount code, and pick the three products. On the store, customers add the bundle in one click and land in a cart with the discount applied.

The finished Build Your Bundle section on the storefront, with three cushions and the bundle discount
The finished Build Your Bundle section on the storefront, with three cushions and the bundle discount

Tips for better results:

  • Be specific. "A dark green Shop Now button under the description, linked to my skincare collection" beats "add a button".
  • Always ask for it to be editable in the theme editor, so you can change text, colors and images yourself later.
  • Always ask for it to work on mobile. Most of your customers are on their phones.
  • One feature at a time. Check it, then ask for the next one. If something isn't right, just tell it, like you'd tell a developer.
Watch: building store features (8:55)

How do you use Claude on your Shopify store safely?

Never let Claude work on your live theme, and never make bulk changes without a backup.
  • Themes: duplicate your theme and tell Claude to change only the duplicate. When you've tested a feature and love it, publish the duplicate yourself.
  • Products: before asking Claude to rewrite descriptions, add tags or change prices in bulk, go to Products → Export and save a copy of your catalog. If something goes wrong, you can import the backup.
  • Permissions: only give the scopes you need, and keep your access token private.
  • Review: Claude asks for confirmation as it works. Stay in front of your screen and read what it's about to do.
Exporting Shopify products as a backup before letting Claude make bulk changes
Exporting Shopify products as a backup before letting Claude make bulk changes

So far I haven't seen Claude break anything, but it's always better to work on the safe side.

Watch: best practices and safety (11:13)

How do I use Claude to run my Shopify store?

Connecting Shopify is the start. What makes Claude so efficient is that it connects all your tools, so you manage them from one place instead of opening each platform. In my own system, made with my coaching clients in mind, it works like this:

1. Connect your tools

In Customize → Connectors I have Shopify, my Meta ad accounts (you can connect several), Klaviyo (one account at a time), Canva, Gmail, Google Calendar, Notion for everything written, and YouTube. At a minimum, connect your Shopify store, your ad account and your email marketing tool.

The connectors I use in Claude: Canva, Facebook, Gmail, Google Calendar, Klaviyo, Notion, Shopify and more
The connectors I use in Claude: Canva, Facebook, Gmail, Google Calendar, Klaviyo, Notion, Shopify and more

When a tool has no official Claude connector, use a bridge like Windsor. I use it to read Google Analytics (much easier than the GA4 interface) and Instagram analytics from Claude. I also connect Microsoft Clarity, a free app that records how visitors use your store (heatmaps, dead clicks), so Claude can tell me what's stopping people from buying on a product page.

The Windsor connector in Claude, used to connect tools without an official connector such as Google Analytics
The Windsor connector in Claude, used to connect tools without an official connector such as Google Analytics

2. Turn repeated tasks into skills

A skill is a saved set of instructions Claude follows for a task. Mine include: Klaviyo email campaigns, a 30-day performance review across Shopify, Meta and Klaviyo, product description rewrites, a Meta ads analysis, blog posts into newsletters, and reviews into ads.

My saved Claude skills for a Shopify business: email campaigns, performance review, product page rewrite, Meta ads analysis and more
My saved Claude skills for a Shopify business: email campaigns, performance review, product page rewrite, Meta ads analysis and more

The easiest way to create a skill: do the task once with Claude, then ask Claude to save everything you just did as a skill. You never have to write it yourself. When something isn't right later (say it keeps getting your brand colors wrong), ask Claude to update the skill with your colors and fonts.

3. Example: a 3-email campaign in minutes

In Cowork (I prefer it for longer tasks), I add my email campaign skill and type "I want to create a 3 emails campaign". The skill first shows me a short form: store URL, goal, campaign type, offer, deadline and any extra context. For this one I chose a cross-sell with a 10% code and a 7-day deadline, aimed at customers who bought the concealer, with the primer as the main product.

The Claude email campaign skill asking for the store URL, campaign goal, type and offer
The Claude email campaign skill asking for the store URL, campaign goal, type and offer

Claude reads the website for images and product details, comes back with a brief for the three emails and asks me to confirm the code and brand colors. I type "go", and it writes all three, with subject lines and preview text.

Claude's brief for a 3-email cross-sell sequence before it writes the emails
Claude's brief for a 3-email cross-sell sequence before it writes the emails
One of the finished emails designed by Claude, with the discount code and brand styling
One of the finished emails designed by Claude, with the discount code and brand styling

I always check them on mobile and test every link. Then I ask Claude to save the templates to Klaviyo, where they appear under Templates.

Watch: the full email campaign workflow (4:43)

And for daily store work (updating collections, changing prices in bulk, filling a new filter's metafield for every product), the Shopify connector does it in bulk without you touching each product. If you're on ChatGPT instead, read my guide on selling your Shopify products inside ChatGPT.

Get my AI prompts for Shopify

My free ChatGPT Shopify Playbook has the prompts and workflows I use to audit catalogs, build metafields and filters, and analyze a store with AI. They work in Claude too.

Get the free Shopify AI Playbook →Browse all free resources →

Frequently asked questions

Can Claude connect to Shopify?

Yes. Claude has an official Shopify connector you add from Customize → Connectors in one click, and Claude Code can connect to your store through Shopify's AI Toolkit and an Admin API access token.

Do I need a paid Claude plan to connect Claude to Shopify?

For regular use, a paid Claude plan works best, especially for Claude Code. You can be on any Shopify plan.

What can Claude do in my Shopify store?

Through the connector, it can add and edit products, rewrite descriptions, restructure collections, create metafields and filters, and update your theme. With Claude Code, it can also build custom theme sections like a bundle builder, a product quiz or a sticky add-to-cart bar.

Is it safe to let Claude edit my Shopify store?

Yes, if you work on a duplicate theme, export your products before bulk changes, give only the API scopes you need and review what Claude asks you to confirm.

What is the Shopify AI Toolkit?

It's Shopify's official plugin for AI coding tools like Claude Code. It connects them to Shopify's documentation and APIs so they build Shopify features correctly.

Can Claude connect to Klaviyo and Meta ads too?

Yes. Claude has connectors for Klaviyo, Facebook ad accounts, Canva, Notion and many more, and tools like Windsor connect it to platforms without an official connector, such as Google Analytics.

Keep reading

Rihab Sebaaly working on her laptop

About the author

Hi, I'm Rihab.

eCommerce strategist, coach and content creator. I help founders understand their business and grow it with clearer priorities.

Free resources

Prompts, guides and checklists

Free tools to help you run and grow your Shopify store with AI.

Browse free resources

Work with me

Get expert eyes on your store