Connect Shopify
Connect Shopify so your AI agent can find current products and check order status. Boei prepares the connection, and you approve access in Shopify. You do not need to create an app or copy secret keys.
How to get there: Go to AI agents → open your agent → Actions → Connected tools → choose Shopify in the marketplace.
Request your connection
- Enter your Shopify store address, for example
your-store.myshopify.com. Find it in Shopify under Settings → Domains. Your usual website address is not the same as your .myshopify.com address. - Click Request Shopify connection. Your request is sent to Boei support. It is not connected yet.
- After Boei prepares your connection, open this screen again. Use Check connection status if it is already open.
- Click Approve Shopify access. Review the permissions in Shopify and approve the installation.
- You return to Boei. Once the store shows as connected, click Add product search and order status.
- Open AI actions. If the screen says actions are turned off, click Enable actions. Test your chatbot. An order lookup needs both the order number and the email used at checkout.
Boei asks for permission to read products and orders. These actions cannot change orders, issue refunds or change products. Access is renewed automatically. If Shopify asks you to reconnect, approve access again from the same screen.
The chat widget installation is a separate step. Connecting the store does not publish or install a widget on your website.
Advanced: connect your own app
Choose Advanced: use your own Shopify app only if you manage an app in the same Shopify organization as your store. The steps below describe that advanced route. They are not needed for a connection prepared by Boei support.
Before you start
You need access to develop and install apps in your Shopify store. Ask the store owner if you cannot see these options.
Create the app in the same Shopify organization as your store. Start from your store's admin, rather than creating a separate Partner organization. This connection will not work if the app and store belong to different organizations.
The screenshots below use our development store. Shopify's screenshots are in Dutch; the steps use English menu names. No access token or app secret is visible.
1. Create your Shopify app
- In your Shopify store, open Settings → Apps → Develop apps.
- Open the Dev Dashboard and choose Create app. If your app already exists, open it instead.
- Name the app Boei.
- Set App URL to
https://app.boei.help. - Turn off Embed app in Shopify admin. Leave redirect URLs empty. This connection does not need a redirect URL or the legacy install flow.
- Under API access → Scopes, enter
read_products,read_orders. - Create and release the app version. If you change an existing version's permissions, release the new version and approve the updated permissions in the store.
These are read permissions. They do not let Boei change products, cancel orders or issue refunds.

2. Install the app on your store
Open the app's overview and choose the option to install it on your store.
If Shopify asks you to choose a distribution method:
- Choose Custom for this one-store connection. Shopify does not let you change this app's distribution method later.
- Enter your store's
.myshopify.comaddress. - Turn off installation on multiple stores if you only want to connect this store.
- Generate the installation link, open it and choose Install.
Review Shopify's permission screen before installing. Alongside products and orders, Shopify may list customer names, email addresses, phone numbers, addresses, device/activity data and the store owner's contact details. Order data can include personal information.
You can confirm installation in Shopify → Settings → Apps → Installed apps.
3. Find the app details
In the Dev Dashboard, open the app and go to Settings → Credentials.
You need the Client ID and Client secret. In the Dutch interface these are called Klant-ID and Klantgeheim. Use the copy buttons. Do not rotate the secret just to copy it.
Keep these details out of chat messages, support tickets and screenshots. Enter them only in Boei's Shopify form. You do not need to request or copy a temporary Admin API access token yourself.
4. Connect the app in Boei
Open AI agents → your agent → Actions → Connected tools → Shopify. Choose Advanced: use your own Shopify app.
Fill in:
| Field | What to enter |
|---|---|
| Shopify store address | Your original address, such as your-store.myshopify.com. Leave out https://, slashes and page paths. Use this address even if customers visit a custom domain. |
| Client ID | The Client ID from the app settings. |
| Client secret | The Client secret from the same app. |
Choose Connect Shopify. Boei checks the app details and the required permissions before saving the connection. The app details are stored encrypted and are not added to the Copilot chat. Saved secrets are never displayed back to you.

When the connection succeeds, Boei shows your .myshopify.com address and App connected. If you leave and reopen this screen, the connection should still be there.
5. Add product search and order status
In the same Shopify screen, choose Add product search and order status. Boei adds two ready-made read actions. You do not need to ask Copilot to write an API request.
| Action | What your customer can do |
|---|---|
| Product search | Find published products and see a photo, product link and current listed price or price range. |
| Order status | Check payment and shipping status. See tracking details when Shopify has them. |
Manage these actions in Actions → AI actions. You can turn either action off there. Adding them again does not turn a disabled action back on.
For order status, Boei asks for the order number and the email used at checkout. Both must match the order before any order details reach the AI. A wrong email gives a general “not found” response. Customer addresses and phone numbers are not included in the lookup result. Shopify's protected customer data requirements still apply.
To prevent guessing, five unsuccessful order checks within 15 minutes temporarily pause further checks. In website chat, the limit follows the visitor's IP address across new conversations. On messaging channels with a stored sender identity, it follows that contact. The wait ends 15 minutes after the first failed check in that window. Successful checks, missing details and Shopify outages do not use up failed attempts. Product search stays available.
In the website chat, the agent can show a status card or product cards. Other channels receive a text response. No tracking link or delivery date is invented when Shopify has none.
These actions read current data. They do not import the catalog into training, change orders, issue refunds or install the website widget. Product prices may vary by market, customer, discounts or checkout choices. The shown price is not a final quote. Exact stock and product compatibility are not confirmed by these actions.
6. Test before going live
Open Test chatbot and try:
- “Where is my order #1001?” Use your own test order number. The chatbot should ask for the checkout email.
- Enter the matching email. Check the payment and shipping status against Shopify. The website chat should show an order card.
- Start a new conversation, then use the same order number with a wrong email. No order details should appear.
- “Show me [product name] with a photo and current price.” Check the card against the product in Shopify.
Use fictional customer details for test orders. Shopify may send an order confirmation when you create an order, even when no payment is taken. Check notification options before creating or fulfilling a test order.
7. Finish your customer-service setup
Connect the website widget to the same AI agent. Then add your shipping, return, warranty and contact pages to the agent's Knowledge. Add manuals and compatibility rules for products that need advice. Shopify lookups provide live facts; your knowledge sources provide your store's policies and product guidance.
Set up a route to your team for requests that need a person, such as a return, cancellation, address change or uncertain compatibility. Keep the customer's question and verified order reference in that conversation so the customer does not need to start again.
Before launch, check a product page, a mobile screen and the cart. Confirm that the widget appears once, order checks work and your team can receive a handoff. This setup uses a merchant-owned Shopify app. It is not a Shopify App Store installation.
Do I need to reconnect every day?
No. For a connection prepared by Boei support, access is renewed automatically with a refresh token. If approval is needed again, choose Approve Shopify access.
For the advanced own-app route, Shopify's access token lasts about 24 hours. Boei keeps the app credentials securely. When an action needs access and the saved token has less than one minute remaining, Boei requests a replacement automatically.
You only need to update the connection if something changes, for example if you rotate the app secret, remove the app or change its permissions. Use Update app credentials in the Shopify connection screen.
Disconnect or reconnect
For a connection prepared by Boei support, choose Approve Shopify access when asked to reconnect. Contact Boei support if Shopify no longer accepts the app. You do not need to enter app secrets.
For the advanced own-app route, if Boei shows Update app credentials to restore Shopify access, open the Shopify screen and enter the current Client ID and Client secret. This can happen when the saved app credentials or permissions are no longer accepted. Temporary Shopify outages do not remove your connection.
Disconnecting Shopify removes the connection and its linked AI actions. Your saved conversations and training sources remain. To use Shopify again, reconnect the app and add the two actions again.
Troubleshooting
| Problem | What to check |
|---|---|
| Shopify does not accept a connection prepared by Boei | Check the store address and try Approve Shopify access again. Contact Boei support if approval still fails. |
| Shopify does not accept an advanced own-app connection | Check the store address, Client ID and Client secret. Confirm the app is installed and belongs to the same organization as the store. |
| Boei says permissions are missing | Add read_products and read_orders, release the version and approve the updated permissions in Shopify. Then try again. |
| The connection stopped after changing the secret | Enter the new secret through Update app credentials. |
| No product card appears | Confirm the product is active and published to the online store, and the product-search action is enabled. Start a new test after changing the setup. |
| Order checks are temporarily paused | Five unsuccessful checks pause further order checks until the 15-minute window ends. Opening another conversation does not reset this limit. Product search still works. |
| A custom action reports multiple Shopify connections | Use the built-in Shopify actions. If you also keep custom actions, give their credentials distinct names so each action uses the intended store. |
| Several users of a custom API integration cannot check orders | Requests from the same backend server share its IP address and therefore share the failed-check limit. |
| Older orders cannot be found | read_orders normally covers the most recent 60 days. Older orders need additional Shopify access. |
| Exact stock per location is unavailable | The built-in product search does not return stock quantities. Adding another permission alone does not add this feature. |
| Shopify asks for an IP allowlist | First check whether the app was created in another organization. Apps installed only within their own organization are exempt from the current requirement. If an allowlist is already enabled, it must permit Boei's outbound addresses. Ask Boei for the current addresses rather than allowing all addresses. |
| The website does not show the Boei widget | Store-data access and widget installation are separate. Follow the Shopify widget installation guide. |
Shopify references: client credentials, access scopes and IP allowlists.
Disconnecting in Boei removes the saved access details and attached actions. To remove the app from your store as well, uninstall it in Shopify under Settings → Apps.