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, get storefront previews, and then claim a preview as a Shopify store, or 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.
On this page
- Actions the Shopify connector for Grok supports
- Considerations for using the Shopify connector for Grok
- Installing the Shopify connector for Grok
- Using the Shopify connector in Grok Bot
- Managing your store from Grok
- Achieving the best results with the Shopify connector for Grok
- Getting help with the Shopify connector for Grok
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:
- Generate storefront previews: Describe what you want to sell, and then choose a preview that fits your business. A preview isn't a Shopify store until you claim it.
- Claim a store: Claim a preview to create your Shopify store and become the store owner. To finish setup after you claim 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, which is the AI assistant inside your Shopify admin.
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.
A storefront preview is a starting point rather than a finished store. The theme matches the preview that you chose, and the preview 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.
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.
Responses in Grok Bot are text only. The connector returns your store data as text, rather than as the storefront previews, tables, and charts that Grok displays in a desktop web browser and in the Grok mobile app.
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.
Example prompt: Add a Vanilla Bean Candle for $24.95.
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.
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.
Example prompt: 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.
Example prompt: 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.
Example prompt: 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.
Example prompt: 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.
Example prompt: 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.
Example prompt: 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.
Example prompts: 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.
| Action name | What it does |
|---|---|
add-to-collection | Adds products to a collection that already exists. |
bulk-update-product-status | Sets up to 50 products at a time to active, draft, or archived. |
claim-storefront-preview | Starts the signup for the storefront preview that you chose to claim. |
create-collection | Creates a manual or smart collection and publishes it to your online store. |
create-discount | Creates a percentage-off discount code. |
create-product | Creates a product, including its variants, options, and inventory tracking. |
find-sample-product | Returns sample products for a category that you name, for you to browse and add to your store. |
generate-business-names | Returns suggested store names for your business based on your inputs. You can choose a business name, and then sign up to claim a new store with that business name, or confirm the business name in your Shopify admin if you're already connected to a store. |
generate-domain-names | Returns available domain names based on your inputs. You can choose a domain name, and then proceed directly to purchase the domain if you're already connected to a store, or sign up for a new store and then purchase the domain. |
get-collection | Returns one collection's title, description, image, products, and rules. |
get-inventory-levels | Returns the stock for every variant of a product across your locations. |
get-new-store-previews | Generates storefront previews from a short description of your business. |
get-order | Returns one order's line items, fulfillment status, shipping address, and tracking. |
get-product | Returns one product's title, status, vendor, variants, images, tags, and inventory. |
get-shop-info | Returns the connected store's name, domain, email, plan, currency, time zone, and country. |
get-storefront-generation | Checks whether your storefront previews have finished generating. |
graphql_mutation | Makes a change through the Shopify Admin API to a part of your store that has no dedicated action. |
graphql_query | Reads data through the Shopify Admin API from a part of your store that has no dedicated action. |
graphql_schema | Returns the parts of the Shopify Admin API that a request can use. |
list-customers | Returns your customers with their name, email, phone, order count, and total spend. |
list-orders | Returns your recent orders with the customer, totals, and payment and fulfillment status. |
run-analytics-query | Runs a ShopifyQL query against your store's analytics data. |
search_collections | Searches your collections by keyword, or by a filter such as title or collection type. |
search_docs_chunks | Searches Shopify's documentation for an answer to a question about the platform. |
search_products | Searches your catalog by keyword, or by a filter such as price, tag, or status. |
set-inventory | Sets the quantity available for an item at one location, with a reason for the change. |
switch-shop | Switches to another store that you own, and asks you to authorize it. |
update-collection | Updates a collection's title, description, image, sort order, or rules. |
update-product | Updates a product's title, description, status, images, variant prices, or SKUs. |
validate_graphql_codeblocks | Checks 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.