Connect Shopify
BetaConnect your Shopify store and the agent can find your products, show them as cards, answer questions about sizes and colours, and build a cart. When the customer is ready, it sends your own Shopify checkout link. Customers pay in your Shopify checkout; Tendus never handles payment.
Where: Build → Integrations → Shopify.
There are two ways to connect a store:
| Through the Tendus app (recommended) | By address only | |
|---|---|---|
| How | Install Tendus in your Shopify admin and enter a code. | Type your store’s address. |
| Stores with a storefront password | Work. Good for testing before you launch. | Show no products. |
| Orders from conversations | Counted in Insights and shown on each conversation. | Not tracked. |
Connect your store through the Tendus app
Section titled “Connect your store through the Tendus app”- On Integrations → Shopify, under Store, select Install Tendus in Shopify. Tendus shows a code and a link.
- Select Install Tendus in Shopify in the steps under the code. Install the app on your store and open it from your Shopify admin.
- In the app, under Code from Tendus, type the code and select Connect. A code works once, for 10 minutes; if it ran out, select Get a new code in Tendus.
- The app says Connected to Tendus. Back in Tendus, select Refresh: your store appears under Store, marked Tendus app.
Only a team member who can change the project can make a code. Nobody types a store address in Shopify: the code says which project the store joins.
Connect a store by address only
Section titled “Connect a store by address only”- Under Store, select Connect without installing (or Add a store by address when the project already has a store).
- Enter your store’s myshopify.com address, like
your-store.myshopify.com. You’ll find it in Shopify admin → Settings → Domains. Your own domain (www.example.com) doesn’t work here. - Select Add store. Tendus reads one product from your store to check the address. The store appears under Store, marked Address only.
You can install the Tendus app on the same store later: it becomes a Tendus app store and keeps its place in every environment.
Choose what the agent can do
Section titled “Choose what the agent can do”- Make sure Store Sandbox uses shows your store.
- Choose what the agent can do:
- Search products and browse collections
- Product details, sizes and colours
- Build a cart and send the checkout link: this needs product details, so it turns them on too.
- Select Turn on Shopify for the agent.
Check it worked: the page shows Connected with the tools the agent now has, and the Shopify card on Integrations shows your store. Open the test chat and ask for something you sell.
To change what the agent can do, select Change. To stop, select Disconnect: the agent stops using your store right away. Customers’ carts in Shopify are untouched.
Like every change, what the agent can do reaches your customers when you promote a release. In Live, the Shopify page shows what is connected but can’t change it.
Several stores, one per environment
Section titled “Several stores, one per environment”Stores belong to the project. Each environment chooses its own from Store … uses, for example a development store for Sandbox and your real store for Production. Promoting a release never changes an environment’s store, so testing never reaches your real shop by accident.
A project with one store uses it in every environment, including new ones. With several, choose the store in each environment yourself.
Under Stores in this project:
- Unlink a Tendus app store to stop using the app with it. The store stays in the project by address, every environment that used it keeps it, and its orders stop being tracked.
- Remove an Address only store to take it out of the project. Environments that used it use no store until you choose another.
Uninstalling Tendus from your Shopify admin does the same as Unlink. Two days later, Shopify asks Tendus to erase the store’s data, and Tendus deletes it: the store’s orders, with their numbers and totals, leave your conversations and Insights, and any carts customers had open are emptied. The conversations themselves stay, and so does the store’s address in the project.
Stores with a storefront password
Section titled “Stores with a storefront password”Shopify keeps a password on development stores, and on any store you haven’t launched yet. Through the Tendus app the agent can still read such a store; by address it can’t. The store shows Password on.
Customers who open the checkout link still see Shopify’s password page. In Sandbox that’s fine for testing. In Live, Tendus warns Customers can’t check out yet until you remove the password in Shopify → Online Store → Preferences.
Orders from conversations
Section titled “Orders from conversations”With the Tendus app, every cart the agent builds carries the conversation it came from. When the customer completes the checkout, Shopify tells Tendus about the order, and:
- Observe → Insights shows Orders from conversations: how many, their total per currency, and each day of the last week.
- The conversation shows the order under Orders, with its number and total.
Tendus keeps only the order’s number, total and time. It never stores the customer’s name, email, phone or address from Shopify.
What your customers see
Section titled “What your customers see”| Website chat | ||
|---|---|---|
| Products | A carousel of cards, each with Add to cart and Details buttons. | A row of cards with the same two buttons. |
| Details | The product on its own, with a View on store link. | The same. |
| Sizes and colours | The agent asks with buttons or a list, using your own option names. | Buttons in the chat window. |
| The cart | A card listing each item, with a Checkout button. | A cart card with a Checkout button. |
The customer can always type instead (“the blue one, size 41”), and the agent understands it the same way. See Cards and buttons for how cards look on each channel.
Recognise logged-in customers in your website chat
Section titled “Recognise logged-in customers in your website chat”With the website chat on your store, the chat can know which customer is logged in, so the agent can help with their own account. Your theme signs who they are; nothing is installed.
- In Channels → Website chat, under Signed-in visitors, choose Optional or Required, then Create signing secret. Copy the snippet it shows: your secret is already in it.
- In Shopify, open Online Store → Themes → … → Edit code and
layout/theme.liquid. - Paste the snippet just before
</body>, after the chat snippet, and save.
The snippet, with YOUR_SIGNING_SECRET standing for your secret:
{% if customer %} {% assign tendus_ts = 'now' | date: '%s' %} {% capture tendus_payload %}{{ customer.id }}:{{ customer.email | downcase }}:{{ tendus_ts }}{% endcapture %} <script> Tendus('identify', { shopify: { customer_id: "{{ customer.id }}", email: {{ customer.email | downcase | json }}, ts: {{ tendus_ts }}, signature: "{{ tendus_payload | hmac_sha256: 'YOUR_SIGNING_SECRET' }}" } }); </script>{% endif %}Shopify fills it in on its own servers, so the secret never reaches a visitor’s browser. Anyone who can edit your theme can read it, though: Rotate the secret when a person with theme access leaves.
Good to know
Section titled “Good to know”- Only products published to your Online Store sales channel are visible, and only those have a link on their card.
- By address only, a password-protected storefront shows no products until the password is removed. Through the Tendus app it works.
- Prices, stock and pictures are read from your store when the customer asks, so they are always current.
- Order look-up and delivery status are coming soon. Until then, the agent can’t tell a customer where their order is.
If adding a store fails
Section titled “If adding a store fails”Tendus says why in plain words. The most common reasons:
| What it says | What to do |
|---|---|
| The address isn’t a Shopify store address | Use the myshopify.com address from Settings → Domains, not your own domain. |
| The store has no products to show | Publish at least one product to your Online Store sales channel. |
| The store has its storefront password on | Connect it through the Tendus app, or remove the password in Online Store → Preferences. |
| The store is frozen or closed | Check your Shopify plan and billing. |
| Shopify is busy or couldn’t be reached | Wait a minute and test again. |
Want another app?
Section titled “Want another app?”Email support@tendus.ai and tell us which one, or use Request an app on the Integrations page.