# AI sales assistant setup for e-commerce sites: 2

> How to set up an AI sales assistant on an e-commerce site: two-line tag, catalog import, site actions and testing in incognito mode, step by step.

Source page: https://dblinx.net/en/smartoperator/blog/e-ticaret-sitesine-yapay-zeka-satis-asistani-kurulumu

---

Setup

# AI sales assistant setup for e-commerce sites: 2 lines of code

Adding an AI sales assistant to your e-commerce site starts with a two-line tag. We explain all steps from the tag to going live.

SmartOperator team4 min readPublished: 17.10.2026

- [Setup](/en/smartoperator/blog/#etiket-kurulum)

- [E-commerce](/en/smartoperator/blog/#etiket-e-ticaret)

- [Product catalogue](/en/smartoperator/blog/#etiket-urun-katalogu)

The biggest barrier to sales on an e-commerce site is unanswered questions: "Will this part fit my vehicle?", "When will the delivery arrive?", "Do they have this in a large size?". An AI sales assistant answers these questions within the site, based on your product catalogue. The technical part of the setup is short; the real work lies in preparing what the assistant should know.

## How to install an AI sales assistant on an e-commerce site?

You add your site and domains in the panel, then paste the provided two-line tag once into your site's common template. Next, you import your catalogue via CSV or XML, enter shipping and return rules into the knowledge base, and define actions such as 'Add to cart'. You test in hidden mode without customers seeing it, and remove hidden mode when ready.

## Does the sales assistant affect site speed?

The script loads asynchronously and does not block page rendering. Only a small bubble is drawn while the page loads; the chat window itself loads when the visitor hovers over or clicks the bubble. Since conversations are stored on the server, the window reopens with the same conversation when the visitor changes pages, preserving initial load speed.

## Before setup: preparation checklist

Before setup, prepare your product list export (CSV or XML), frequently asked questions and policies, tasks for the assistant, and payment page addresses.

- Export of your product list (CSV or XML) including product code, name, price, stock, page URL, and image.

- Frequently asked questions and policies: shipping, returns, warranty, promotions.

- Assistant tasks: adding to cart, navigating to page.

- Addresses of your payment and cart confirmation pages.

- Operating hours and notification email address.

## Step-by-step setup

Setup begins by adding the site in the panel; the tag, catalogue, and knowledge base steps are described below in order.

- **Add the site:** In the Panel under Management → Sites screen, enter the site name and your domains. The tag only works on these domains.

- **Paste the tag:** Add the provided two-line tag once to your site's common template, usually at the end of the page.

- **Import the catalogue:** Upload your CSV or XML file in the Catalogue screen; fields map automatically.

- **Fill the knowledge base:** Enter your shipping, return, and promotion rules as Q&A or policy items.

- **Define actions:** Define tasks such as adding to cart on your page.

- **Test in hidden mode:** Add hidden mode to the tag; only you can see the bubble when opening the test address. Remove hidden mode when ready.

```
<script>!function(w,o){o=w.SmartOperator;if(!o||{}.toString.call(o)!="[object Object]")o=w.SmartOperator={};o.q=o.q||[];"eylemTanimla baglamSaglayici odemeSayfasi ac kapat musteriBaglami".split(" ").forEach(function(a){o[a]=o[a]||function(){o.q.push([a,arguments])}})}(window)</script>
<script src="https://operator.dblinx.net/k/<kurum-kodu>/operator.js" data-site="SITE_ANAHTARI" data-api="https://operator.dblinx.net/k/<kurum-kodu>" data-embed="https://operator.dblinx.net/k/<kurum-kodu>" async></script>
```

Adresteki <kurum-kodu> kurumunuza özeldir. Etiketin tamamı panelde Siteler ekranında hazır verilir; oradan kopyalayın.

The first line sets up a small tail so your page can define actions before the tag loads; the second line loads the script.

Each site in the Sites screen has its domains and script tag.

## Is site speed affected?

The script loads asynchronously and does not block page rendering. Only a small bubble is drawn while the page loads; the chat window itself loads when the visitor hovers over or clicks the bubble. Since conversations are stored on the server, the window opens with the same conversation when the visitor changes pages.

## Window view

The window can open in the bottom-right, bottom-left, side panel, or full-screen; you choose the default. On mobile devices, the window always opens in full-screen. The representative’s name, tone, greeting message, and quick options are set from the Settings screen.

Bottom-right view

Greeting and quick options

## Large catalog, store database

The catalog is not sent to AI in bulk; each query searches your catalog and uses only a few relevant products. If prices and stock change constantly, instead of importing the catalog via file, a read-only connection can be established to your store database; our setup team will configure this connection with you. MySQL/MariaDB, PostgreSQL, and SQL Server are supported.

## How SmartOperator solves this

SmartOperator is installed with a two-line tag added once to the shared template; the catalog is transferred via CSV/XML feed or a read-only connection to the store database.

- **Two-line tag:** Added once to the shared template; works on registered domains.

- **Catalog transfer:** Via CSV/XML feed or read-only connection to the store database.

- **Hidden trial:** Test on the live site without customers seeing it.

- **Preserves site speed:** Script loads asynchronously; the window loads when the balloon is hovered.

[Setup](/en/smartoperator/kurulum.html)[Add your site](/en/smartoperator/belgeler/baslarken/site-eklemek.html)[Test in incognito mode](/en/smartoperator/belgeler/baslarken/gizli-modda-denemek.html)

## Frequently asked questions

Which e-commerce platforms does it work with?

It works on any site where the script tag can be added, regardless of the underlying platform. Actions such as 'Add to cart' are handled by the site's own defined events.

Does installation slow down my site?

The script loads asynchronously and does not block page rendering. While the page loads, only a small balloon is displayed; the window loads when the visitor hovers over the balloon.

Can I try it before my customers see it?

Yes. When hidden mode is enabled, only the person opening the test URL sees the balloon; you can test the representative on your live site with real pages.

## Let us guide you through installation

Our team works with you on the tag, catalog transfer, and site actions.

[Request a quote](https://dblinx.net/en/teklif-iste?urun=smartoperator)[Installation](/en/smartoperator/kurulum.html)

## Related articles

- [Site actions

### Site actions: adding to cart from chat and redirecting to pages

The difference between an assistant answering queries and an assistant working with users lies in site actions: adding to cart from chat, navigating to pages, and booking appointments.

4 min read](/en/smartoperator/blog/sohbetten-sepete-ekleme-ve-yonlendirme.html)

- [Artificial intelligence

### Does the AI assistant provide incorrect information?

Incorrect information arises when the AI assistant states something without a source. Linking responses to the catalog and knowledge base mitigates this risk.

5 min read](/en/smartoperator/blog/yapay-zeka-asistani-yanlis-bilgi-verir-mi.html)

- [Live support

### How does handover from chat to a live agent work?

A good chat assistant does not try to resolve every query itself; it hands over the conversation to your team at the right moment. We explain how handover works step by step.

5 min read](/en/smartoperator/blog/sohbetten-canli-temsilciye-devretme.html)
