Shopify connector for Grok

You can use the Shopify connector for Grok to create or manage a Shopify store without leaving your chat, in Grok or in Grok Bot. You can describe a business that you want to start and create a store from your chat before you sign up for Shopify, or you can connect a store that you already own.

Standard Shopify plan pricing applies to a store that you create or run using Grok, and there's no extra Shopify fee for using the connector. You pay any Grok subscription costs to xAI rather than to Shopify.

Actions the Shopify connector for Grok supports

To start, open Grok and ask for Shopify. For example, you can ask Grok to help you create a Shopify store for your handmade candle business.

The connector supports the following actions:

  • Create a store before you sign up: Describe what you want to sell, and the connector creates a store that you can view and build on before you have a Shopify account. Refer to Building a store from Grok.
  • Build your store: Ask the connector to add products, create collections, update prices and descriptions, or change your store's design from the chat.
  • Save your store: Save your store to a Shopify account to become the store owner. To finish setup after you save a store, refer to Setting up a store created with an AI tool or vibe code partner.
  • Manage a store that you own: Connect a store that you already own, and then work with your products, collections, inventory, orders, customers, discounts, and analytics. You need to sign in to your Shopify store and approve access for Grok.

What the connector can do in your store depends on the data access that you approve and on your user permissions. Grok applies its own access controls as well, so a connection can be turned off in your Grok connector settings. To review the Shopify side of access, refer to Authorizing AI tool access to your store.

Considerations for using the Shopify connector for Grok

Your Shopify admin is the main place to manage your business. The connector can help you start a store and handle some tasks, but it doesn't replace your Shopify admin, and it doesn't replace Sidekick, the Shopify AI-powered commerce assistant.

A connected AI tool works within the data access that you approve, and some changes to your store can be made only in your Shopify admin. Review the following considerations:

  • Editing your live theme: A connected AI tool can change a theme that isn't published, but it can't edit your live theme, publish a theme, or delete one. To change your storefront's design, duplicate your theme in your Shopify admin, let the tool edit the copy, and then publish the copy yourself.
  • Changing store settings: A connected AI tool can't change settings such as your plan, payments, taxes, or domains.
  • Editing data without write access: A connected AI tool can read data but not change it, unless you approve write access. Access also depends on the permissions of the staff account that the tool acts through. Some connector actions are read-only by design, which the AI tool's provider controls.
  • Moving money or changing paid orders: A connected AI tool can't issue refunds, cancel or capture orders, mark orders as paid, process returns, or create and adjust gift cards. These actions are blocked even when you approve write access.
  • Changing many items at once: A connected AI tool changes items one at a time, so a large batch can stop partway, and some actions cover only a limited number of items. If a batch doesn't complete, then finish it in your Shopify admin.
  • Finishing your store setup: A connected AI tool can help with some tasks, but your Shopify admin is still required for payments, taxes, domains, and launch readiness.

Installing the Shopify connector for Grok

You can use the Shopify connector for Grok in a desktop web browser and in the Grok mobile app.

The Shopify connector for Grok isn't available on the Shopify App Store. You add it from the connectors page in Grok. Installing the connector means that you connect Grok to Shopify, and you're redirected to your Shopify admin to approve the data access that the connector requests.

For the full authorization flow, including how to approve a data access level, switch stores, and revoke access, refer to Authorizing AI tool access to your store.

Using the Shopify connector in Grok Bot

Grok and Grok Bot are separate products from xAI, and the Shopify connector works in both. The connectors page in Grok doesn't install the connector for Grok Bot. To install it in Grok Bot, go to Connect apps in the Grok Bot app, and then search for Shopify.

Grok Bot displays the same screenshots, tables, charts, and Install button as Grok, so you can create a store, manage it, and sell a digital product the same way in both.

Building your store with Canvas from Grok

You can create a Shopify store from Grok before you sign up for Shopify. Describe the business that you want to start, and the connector creates a store and gives you a link to view it. You can keep building the store in your chat, and then save it to a Shopify account when you're ready.

In Grok, the connector can display screenshots of your store in the chat.

Use a prompt such as Create a Shopify store for my handmade candle business.

Understanding unsaved stores

Until you save it, your store isn't connected to a Shopify account. To avoid losing your progress, save your store when you're ready to keep it. Review the following details about a store that you haven't saved yet:

  • The store starts with a Canvas theme.
  • The storefront is password protected, so customers can't buy from it.
  • Anyone who has the store's address can view the store and make changes to it from an AI tool. Share the address only with people you trust.
  • The store is set up for the country that you give the connector, or for the United States if you don't give one. A test checkout works only when the store's country matches the country that you're in.
  • Products that you add are set to active and published to your online store.
  • The connector can change anything that customers view on your storefront. Other actions, such as checking orders or analytics, ask you to sign in first.

A store that the connector creates is a starting point rather than a finished store, and it can include sample content. Before you start selling, review and update your product names, descriptions, images, prices, store policies, shipping and payment settings, and domain settings in your Shopify admin.

Viewing your store

The link to view your store expires after about 30 minutes. If a link expired, then ask the connector for a new one.

Use a prompt such as Give me a new link to view my store.

Adding products and collections from Grok

You can ask the connector to build out anything that customers view on your storefront, before and after you save the store. For example, the connector can add products, create collections, update prices and descriptions, and change your store's design.

Use a prompt such as Add 3 scented candles for $24 USD each, and put them in a collection called Best sellers.

Editing your theme from Grok

You can ask the connector to change your store's design, such as its colors, fonts, layout, or page content. This works on a store that you haven't saved yet and on a store that you've connected.

The connector edits your theme's files, and the edits stay pending until the connector commits them. To check an edit before it's committed, ask for a screenshot of the page. Screenshots include pending edits. Committing saves the edits as a new version in your theme's history.

Use a prompt such as Make the header background dark green and use a serif font for headings.

Where committed edits are saved depends on the store:

  • A store that you haven't saved yet: The edits are saved to your store's live theme.
  • A store that you've connected: The edits are saved to an unpublished theme, such as a theme that you name or a copy of your live theme, so your customers don't view them until you publish it. To publish it, ask the connector, or publish it from Online Store > Themes in your Shopify admin. The connector always asks you to confirm before it publishes a theme.

Adding images to your store

To add your own images, give the connector a link to an image on the web. An image link must be a public web address. To add an image from your device instead, save the store, and then upload the image in your Shopify admin.

Saving your store

When you're ready to keep the store, save it to a Shopify account. Saving the store connects it to your account and makes you the store owner.

Ask the connector for a link to save your store, open the link, and then sign in to Shopify or create a Shopify account. The save link can take a few minutes to be ready after the store is created.

Use a prompt such as Give me the link to save my store.

If you choose a business name or a domain name that the connector suggests before you save, then its link saves the store first. It then renames the store, or opens the domain purchase in your Shopify admin. If the save link isn't ready yet, then the link starts a new Shopify signup instead.

After you save the store, connect the connector to it to keep working on it from Grok. To review how connecting works, refer to Authorizing AI tool access to your store. To finish setting up your account and choose a plan, refer to Setting up a store created with an AI tool or vibe code partner.

Managing your store from Grok

The Shopify connector for Grok works with the store that you connect to it. You can ask which store the connector is connected to, and you can switch to another store that you own. To review how connecting and switching work, refer to Authorizing AI tool access to your store. You can ask for business name and domain name suggestions before you connect or create a store.

What the connector can change depends on the data access that you approve and on your user permissions.

Adding and editing products

You can build and maintain your product catalog from your chat. The connector supports the following product actions:

  • Create a product with a title, description, price, variants, options, and inventory tracking.
  • Update a product's title, description, status, images, variant prices, or SKUs.
  • Rename variant options, such as color or size names.
  • Search your catalog by keyword, or open a single product for its full details.
  • Set products to active, draft, or archived in batches of up to 50, either by naming the products or by choosing a collection.

Use a prompt such as Add a Vanilla Bean Candle for $24.95 USD.

Name the product and the price, and the connector writes a description and creates the product. If you include details such as variants, tags, or inventory tracking, then the connector uses what you give it instead of generating its own.

If you're still deciding what to sell, then describe a product or a category and ask for suggestions. The connector shows sample products that you can browse and add to your store.

Selling a digital product

You can sell a file or a link as a digital product from your chat. The connector creates the product, attaches the file or the link, and turns on automatic delivery, so a customer who buys the product is emailed a link to download the file or open the linked content.

Use a prompt such as Sell my knitting pattern PDF on my Shopify store for $12 USD.

Steps:

  1. Ask the connector to sell your file, and name the price or say that it's free. To sell a link instead, give the URL, and the connector attaches it without a separate upload.
  2. If the Digital Products app isn't installed on your store yet, then click Install in the chat to install the app from your Shopify admin. There's no separate permissions screen. When the installation is finished, go back to the chat and tell the connector to continue.
  3. If you're selling a file, then select it in the file picker that the connector opens in the chat. Your browser uploads the file directly to Shopify rather than through the conversation.
  4. When you're ready to sell the product, publish it. If the connector doesn't offer to publish it, then ask it to.

For the whole flow, including what to review in your Shopify admin afterward, refer to Selling digital products from an AI tool.

Looking up orders

The connector reads your orders but doesn't change them. It supports the following order actions:

  • List your recent orders with the customer, totals, and payment and fulfillment status, up to 50 at a time.
  • Open a single order for its line items, fulfillment status, shipping address, and tracking.

Use a prompt such as Show me my 10 most recent orders.

Ask for the orders that you want by number, date, or status, and then ask about a single order to get its details. To edit, refund, or cancel an order, use your Shopify admin.

Checking your store's analytics

The connector answers questions about your sales, orders, products, customers, and fulfillment from your store's analytics data, and returns the results as tables and charts. It reads this data and doesn't change it.

Use a prompt such as Show me my total sales for the last 30 days, broken down by product.

Ask one question at a time. Short, specific questions work best, and a question that layers several comparisons and filters together can fail or return a result that's hard to read. Other questions that work well include What's my average order value this month compared to last month? and How many new versus returning customers did I get this month?

Organizing products into collections

You can group products into collections and publish them to your online store. The connector supports the following collection actions:

  • Create a manual collection from products that you choose.
  • Create a smart collection from rules that add matching products automatically.
  • Update a collection's title, description, image, sort order, or rules.
  • Add products to a collection that already exists.
  • Search your collections, or open a single collection for its details.

Use a prompt such as Make a Holiday Gifts collection with my three bestsellers.

Name the collection and say which products belong in it. To build a collection that maintains itself, describe the rule instead, such as every product over a certain price or with a particular tag.

Managing your inventory

The connector reads and sets your stock counts. It supports the following inventory actions:

  • Check the stock for every variant of a product across your locations.
  • Set the quantity available for an item at a specific location, with a reason such as received, correction, or damaged.

Use prompts such as How many Vanilla Bean Candles are left? and then Set it to 40.

Check a count before you change it. The connector reads the current quantity first, so an update stops safely if the count changed after the connector looked.

Looking up customers

The connector reads your customer records but doesn't change them. You can look up customers by name, email, location, or tag, and review each customer's order count and total spend.

Use a prompt such as Show my top-spending customers.

Name the customer or describe the group that you want. To edit a customer record, use your Shopify admin.

Creating discount codes

The connector creates percentage-off discount codes. A code can apply to your whole store, to particular products, or to a collection, and you can add a minimum purchase requirement, a start date, and rules for who can use it.

Use a prompt such as Make a 15 percent off code called COZY15.

Name the code and the percentage, and the connector asks you to confirm the start date and who can use the code. The connector creates codes but doesn't change codes that already exist, and it doesn't create fixed-amount discounts. Manage those in your Shopify admin.

Working with pages, menus, and other store data

Some parts of your store have no dedicated action in the connector, and the connector works with them through the Shopify Admin API instead. This covers your pages, blogs, navigation menus, metafields, markets, and translations. The connector asks you to confirm before it makes a change of this kind.

Use prompts such as Create an About page about my brand story and Add my About page to my main menu and label it About us.

Say what you want to create or change, and where it belongs. Results vary more for these changes than for the actions that have a dedicated name, so review what the connector built in your Shopify admin before you rely on it.

Reviewing the action names in your chat

Every action that the connector takes has a name, and that name is displayed in your chat as the action runs. Review the following table to check what an action does.

Actions that the Shopify connector for Grok can take in your store, and what each one does.
Action nameWhat it does
add-to-collectionAdds products to a collection that already exists.
bulk-update-product-statusSets up to 50 products at a time to active, draft, or archived.
create-collectionCreates a manual or smart collection and publishes it to your online store.
create-digital-productCreates a draft digital product for a file that you upload.
create-digital-product-from-linkCreates a draft digital product that delivers a link to the customer.
create-discountCreates a percentage-off discount code.
create-productCreates a product, including its variants, options, and inventory tracking.
create_storeCreates a store from a description of your business before you sign up, and returns a link to view it.
find-sample-productReturns sample products for a category that you name, for you to browse and add to your store.
generate-business-namesReturns suggested store names for your business based on your inputs. On a store that you haven't saved yet, a name's link saves the store to your Shopify account, and then renames the store. On a connected store, you confirm the name in your Shopify admin. If you don't have a store yet, then the link starts a Shopify signup with that name.
generate-domain-namesReturns available domain names based on your inputs. On a store that you haven't saved yet, a domain's link saves the store to your Shopify account, and then opens the domain purchase. On a connected store, the link opens the domain purchase directly. If you don't have a store yet, then the link starts a Shopify signup, and then opens the domain purchase.
get-collectionReturns one collection's title, description, image, products, and rules.
get-digital-productReturns one digital product's title, description, price, status, and cover image.
get-inventory-levelsReturns the stock for every variant of a product across your locations.
get-orderReturns one order's line items, fulfillment status, shipping address, and tracking.
get-preview-store-linksReturns a new link to view a store that you haven't saved yet, and a link to save the store to your Shopify account.
get-productReturns one product's title, status, vendor, variants, images, tags, and inventory.
get-shop-infoReturns the connected store's name, domain, email, plan, currency, time zone, and country.
graphql_mutationMakes a change through the Shopify Admin API to a part of your store that has no dedicated action.
graphql_queryReads data through the Shopify Admin API from a part of your store that has no dedicated action.
graphql_schemaReturns the parts of the Shopify Admin API that a request can use.
list-customersReturns your customers with their name, email, phone, order count, and total spend.
list-ordersReturns your recent orders with the customer, totals, and payment and fulfillment status.
open-digital-products-installDisplays an Install button that opens your Shopify admin so that you can install the Digital Products app.
publish-digital-productActivates a digital product and requests its Online Store listing.
run-analytics-queryRuns a ShopifyQL query against your store's analytics data.
search_collectionsSearches your collections by keyword, or by a filter such as title or collection type.
search_docs_chunksSearches Shopify's documentation for an answer to a question about the platform.
search_productsSearches your catalog by keyword, or by a filter such as price, tag, or status.
set-inventorySets the quantity available for an item at one location, with a reason for the change.
switch-shopSwitches to another store that you own, and asks you to authorize it.
test-digital-products-connectionChecks that your store can reach the Digital Products app.
theme_bashReads and edits your theme's files. Edits stay pending until they're committed.
theme_commitSaves pending theme edits as a new version in your theme's history. On a store that you haven't saved yet, the edits are saved to the live theme. On a connected store, they're saved to an unpublished copy of your theme.
theme_publishPublishes a theme to your online store, after you confirm.
theme_screenshotDisplays a screenshot of a page in your store, including pending theme edits.
update-collectionUpdates a collection's title, description, image, sort order, or rules.
update-productUpdates a product's title, description, status, images, variant prices, or SKUs.
upload-digital-product-fileOpens a file picker so that you can attach the downloadable file to a digital product.
upload-digital-product-mediaOpens a file picker so that you can add a cover image to a digital product.
validate_graphql_codeblocksChecks a Shopify Admin API request for errors before the request runs.

Achieving the best results with the Shopify connector for Grok

Mention Shopify by name in your chat request so that Grok uses the connector rather than answering from general knowledge, and confirm that the connector is turned on for your conversation. If the connector is off, or if you don't name Shopify, then Grok might reply with instructions for you to carry out in your Shopify admin instead of making the change for you.

Keep your requests to one task at a time. Analytics questions in particular work best when they're short and specific, so ask a follow-up question rather than layering several comparisons and filters into a single request.

Getting help with the Shopify connector for Grok

Where you go for help with the Shopify connector for Grok depends on whether you noticed the issue in Grok or in your Shopify admin.

Contact xAI for issues with Grok itself, such as signing in to Grok, your Grok subscription, connector access, or Grok not loading. For help from xAI, refer to xAI's connector management documentation.

Contact Shopify Support for issues with your Shopify account or your store. For a breakdown of who to contact for each type of issue, refer to getting help with a store created with an AI tool or vibe code partner.

If Grok responds with general advice after you ask for the Shopify connector by name and you confirm that the connector is turned on, then the issue is with connector access in Grok rather than with your Shopify store.

If you switch the connector to a different store and it keeps asking you to authorize the store that you left, then start a new conversation. A conversation that started before you switched stores can continue to use the earlier connection.