Docs · E-commerce
E-commerce AI Agent Setup
This guide explains how to add a Blaigent AI agent to an e-commerce website — covering website chat, task execution (orders, quotes, stock), and optional voice support. The agent connects to your existing product catalog and order APIs so it has real data, not static FAQs.
What the agent can do
- Search and recommend products by use case, category, specs, or budget
- Check real-time stock availability and estimated delivery time
- Create quotes or generate add-to-cart links (if your cart API supports it)
- Track orders by order ID — status, dispatch date, delivery estimate
- Answer FAQ and policy questions — returns, warranty, installation guides
- Book consultations or callbacks via a form or CRM webhook
- Handle voice calls (phone) with the same product and order knowledge
What the store needs to provide
Access & APIs
- Staging or production URL for CORS and chat widget domain allowlist
- Products/catalog API (or CSV/Excel export) — name, SKU, price, category, specs, image URL
- Orders API — get order by ID, order status, optional cancel/update
- Inventory/availability API or daily export feed
- CMS or documentation access for product descriptions, FAQs, returns/install guides
Business rules & brand
- Pricing rules — B2B vs B2C, currency, VAT
- Tone of voice — professional, technical, friendly — and any phrases to avoid
- Languages — e.g. English, Polish, Ukrainian, Russian
- Legal/compliance notes — e.g. "no energy savings guarantees without disclaimer"
Setup phases
Phase 1
Environment & agent configuration
- Add the store URL to the CORS allowlist in Blaigent dashboard
- Load product catalog into the Knowledge Base (upload CSV, paste product descriptions, or use the API sync)
- Set Tone and Languages in Identity & Brand
- Configure business rules — return policy, warranty terms, escalation triggers
Phase 2
Chat box on the website
- Copy the embed code from Dashboard → Channels → Website
- Paste the
<script>tag before</body>on your site - The agent loads on every page and answers product and order questions immediately
- CORS: add your production domain to the Blaigent allowlist
Phase 3
Task execution — real actions
Connect your backend APIs so the agent can execute tasks, not just answer questions.
- Product search — agent queries your catalog API by keyword, category, or specs
- Availability check — real-time stock and delivery time from your inventory feed
- Quote / add-to-cart — if your cart API supports it, the agent generates a direct checkout link
- Order tracking — agent looks up order ID in your orders API and returns status
- Contact / callback — submits a form or fires a CRM webhook for consultation bookings
Phase 4
Voice support (optional)
- Add the Voice add-on in your Blaigent plan
- Connect a Twilio phone number using the Multi-channel setup guide
- The same agent that handles web chat now also answers calls — same product knowledge, same order lookup, same memory
- Configure tone preset in Identity — e.g. "professional and calm" or "friendly and energetic" to match your brand voice
Phase 5
Go live
- Set CORS to your production domain only
- Run end-to-end test: product search, order lookup, and callback booking
- Test voice if connected: call the number and verify the agent responds correctly
- Hand off the embed script to your web team and document the "what to provide" section above for ongoing catalog updates
For multi-language stores: the agent auto-detects the customer's language per turn and replies in kind. Supports English, Polish, Ukrainian, Russian, German, and Vietnamese — no per-language setup needed.
Related guides
- Multi-Channel Setup Guide — add WhatsApp, SMS, voice, and email
- AI Voice & Phone Agent — voice pricing and capabilities
- Enterprise — custom API integrations, SLA, and dedicated onboarding
Setting up for your store?
Talk to us and we'll walk through your catalog and order APIs on a call.
Talk to us →