Skip to content

The complete guide

Turn your knowledge into a support agent that never sleeps.

Teach it once, and your assistant answers every customer in Arabic — including Iraqi dialect — and English, on your website, WhatsApp, and Telegram, handing off to your team only when it should.

01 — Overview

What Scode AI is

Scode AI is a no-code customer-support assistant built for businesses in Iraq and the wider MENA region. You feed it what you know — your hours, prices, policies, product details, common questions — and it answers your customers automatically, in the language they write in, on the channels they already use.

The idea is one simple loop: add your knowledge → the assistant answers customers → it hands off to a human when it isn't sure. It never guesses its way into a wrong answer; when confidence is low, it politely escalates to your team instead.

What makes it a fit for the region

  • Real Arabic, including Iraqi dialect. It understands and replies naturally in Arabic and English, and reads Franco-Arabic (arabizi, e.g. "shgad" for شقد) — customers can type however they type.
  • Local awareness. It knows the Sun–Thu work week, greets appropriately around Ramadan and Eid, and understands local payment and delivery names.
  • Your brand stays front and center. Customers only ever see your assistant, by the name you give it.
Why this matters

A support bot is only as good as it is honest. Scode AI is built to say "let me get a teammate" rather than invent an answer — which is exactly what protects your reputation with customers.

02 — Getting started

Live in minutes with the 4-step wizard

When you sign up, a short guided wizard walks you from empty to live. No developer required.

  1. Introduce your business. Your name, business type, what to call your assistant, and a language mode — auto-detect, Arabic/Iraqi, or English.
  2. Add your business info. Hours, address, contact details. You can also point it at your website to pull in your homepage, About, and Contact pages.
  3. Test it. Ask real customer questions right there, and set how careful it should be before escalating.
  4. Go live. Paste one line into your website, or connect WhatsApp / Telegram with your own account.

Picking a business type isn't just a label: it pre-loads a starter kit for your industry — sample questions and answers, business-info blocks, and the actions that make sense for you.

The safety dial

  • Balanced — right for almost everyone. Catches out-of-scope questions while staying helpful.
  • Cautious — for businesses where a wrong answer carries real risk (medical, legal). Escalates more readily.

03 — Knowledge

Building great knowledge (the heart of good answers)

Everything the assistant says comes from what you give it. There are four ways to add knowledge, and using the right one for the right thing is the single biggest lever on answer quality.

Highest priority

Business Info

Short blocks — hours, address, prices, policies. Reached for first, so they answer instantly and accurately.

Best for FAQs

Q&A pairs

A question and its answer, phrased the way customers actually ask. Write them, or auto-draft from your documents.

Best for depth

Documents

PDFs, Word, text, spreadsheets, images. Great for manuals, catalogues, and policies.

Fastest to load

Website crawl

Point it at pages on your site and it pulls the text in on a schedule you choose.

How the assistant decides what to say

  1. If the question matches a Q&A pair almost exactly, it answers straight from it — instantly.
  2. If it recently answered a very similar question, it reuses that answer — instantly.
  3. Otherwise it searches your documents and Q&A, adds Business Info on top, and writes a grounded answer — measuring its own confidence from how well your knowledge matched.

If confidence is low — or it senses the customer wants a human — it escalates instead of guessing. That honest hand-off is a feature, not a failure.

Pro tip

Put hours, prices, and policies into Business Info, not a document. They're treated as highest-priority truth and answer instantly — and they're the one thing worth updating monthly, because stale hours or prices are the #1 cause of a wrong answer.

Good to know

The crawler reads static pages. If your site is heavy JavaScript (many site-builders and single-page apps are), a crawl may pull little or nothing — you'll see "0 chunks / failed". For those, upload the text as a document instead. Watch each item's status: indexed is good; failed means it was empty or unreadable (like an image-only PDF).

04 — Testing & improving

Test before you launch, then keep it sharp

  • Test playground. Ask questions in a private console running the exact same pipeline your customers get — answer, confidence, and sources used.
  • Teach the bot. Turn any good answer into a permanent Q&A pair, or review auto-drafted candidates.
  • Correct from the inbox. When the assistant gets something wrong, your agent writes the right answer — which becomes a saved Q&A so it never repeats the mistake.
  • Gap reports. Questions it couldn't confidently answer are logged, so you can see exactly what to add next.
  • Customer ratings. Customers rate a conversation 1–5, giving you a real satisfaction signal.
The habit that pays off

Spend ten minutes a week in the gap report. Bulk-add the top unanswered questions as Q&A pairs, and your assistant gets measurably smarter every week — using questions your real customers actually asked.

05 — AI Actions

Let the assistant do things, not just answer

Answering is half the job. AI Actions let the assistant take real actions during a chat — capture a lead, look up an order, book an appointment, or call your own system — without a person stepping in.

Two kinds of actions

  • Ready-made actions. Capture a lead, hand off to a human, book an appointment, take an order, request a quote, check an order status. Pick a template, confirm what to collect, switch it on.
  • Connect your own systems. Point an action at your own web address with the right key, and the assistant calls it live and reads the result back.

Safety on write actions

Actions that only read run instantly. Actions that change something can be held behind a "require human confirmation" switch. Every action is logged — what it sent, whether it worked, how long it took.

Acting for a signed-in user

Want the assistant to answer "what's my balance?" or "cancel my booking" for users of your own product? That needs an identity hand-off, and it has its own guide: Connect your platform. Budget about a day of developer time.

Good to know

AI Actions are available on the Growth plan and up. A couple of the ready-made actions are still placeholders — for production, lean on lead capture, human hand-off, and your own connected systems.

06 — Channels

Where your customers meet the assistant

Your website — one line of code

Copy one script tag into your site and the chat bubble appears. Fully self-contained, right-to-left aware for Arabic, and isolated so it can't clash with your styling.

<!-- paste before </body> on your site -->
<script
  src="https://ai.scode.iq/widget/scode-widget.min.js"
  data-api-key="sk_your_key_from_the_dashboard"
  data-base-url="https://api.ai.scode.iq"
  data-language="auto"      <!-- auto | ar | en -->
  defer></script>

The only required attribute is your API key. Everything else — colour, position, header wording, placeholder, launcher icon, welcome message, an optional pre-chat form, and whether to ask for a satisfaction rating — is set on the widget-customize page and reaches your live site on the next page load. You never have to re-paste this snippet to change how the chat looks.

Four ways to place the chat

A floating bubble suits most sites, but it isn't always right — on a help centre or inside a customer's account area you often want the chat to be part of the page rather than hovering over it. Pick the placement on the widget-customize page and it generates the matching snippet for you.

  • Floating — the classic bubble in a corner. The default.
  • Inline — the chat renders inside a box on your page, already open. Good for a Help or Support page, or a tab in an account area.
  • Full page — the chat fills a page of its own. Good for a dedicated /support route.
  • Your own button — no bubble at all; your existing "Need help?" button opens the chat.

Inline — the chat lives inside a box you place

<!-- the chat renders INSIDE this box, wherever you put it -->
<div id="scode-chat" style="height: 520px"></div>

<script
  src="https://ai.scode.iq/widget/scode-widget.min.js"
  data-api-key="sk_your_key_from_the_dashboard"
  data-base-url="https://api.ai.scode.iq"
  data-mode="inline"
  data-target="#scode-chat"
  defer></script>
Give the box a height

The chat fills whatever container you give it, so that container needs a height — otherwise there is nowhere to render. If you leave it without one we apply a sensible default and say so in the browser console. If the element can't be found at all (common on single-page apps that render it later) the widget waits for it, and if it never appears it falls back to the floating bubble so your customers can still reach you rather than silently getting no chat.

Your own button, and reacting to the conversation

<!-- your own button opens the chat; no floating bubble -->
<script src="…/scode-widget.min.js" data-api-key="sk_…"
  data-base-url="https://api.ai.scode.iq"
  data-launcher="none" defer></script>

<script>
  document.querySelector('#help').onclick = () => ScodeChat.toggle();
  ScodeChat.on('escalated', () => analytics.track('support_escalated'));
</script>

Once the widget has loaded it publishes window.ScodeChat with open(), close(), toggle(), send(text) and on(event, handler). Events: ready, open, close, message:sent, message:received, escalated, conversation:ended.

No website? Use your chat page

If your customers find you on Instagram or walk into your shop rather than visiting a website, you don't need to embed anything. Publish your business page and you also get a ready-made chat page at the same address with /c/ instead of /p/ — the same assistant, the same knowledge, just a link you can send anywhere.

The Business page tab has the link, plus a QR code you can download and print. Put the link in your Instagram bio or your WhatsApp away-message, and the QR on your counter, your receipts or a flyer.

Locking your key to your own website

The widget key lives in your page source, which means anyone can read it — that is true of every chat widget, not just ours. Under Settings → API keys you can list the websites a key is allowed to run on, and it stops working anywhere else. Keys with no list show "Any website" and work from anywhere, which is how every existing key behaves until you set one.

WhatsApp, Telegram & Instagram

These connect using your own account — paste your credentials once (encrypted at rest), and inbound messages flow through the same brain as the website: same knowledge, same actions, same honest escalation.

Availability & honest limits

Telegram and WhatsApp are ready today. Instagram works via manual credential setup — one-click connect is waiting on Meta's app review. Email is not a working channel — please don't promise it. On WhatsApp/Instagram there is a 24-hour reply window: if an agent replies more than a day after the customer's last message, the platform blocks it.

07 — The human side

Inbox, agents & automations

  • Agents see full history, reply from one place (with reusable canned responses), take over from the assistant, or transfer to a colleague.
  • Roles keep things tidy: owner, admin, agent, viewer — enforced on the server, not just hidden in the UI.
  • Automations react to events — new message, new conversation, escalation, resolution — and tag, notify, set status, send a canned reply, or trigger an action.
  • Customers can end a chat themselves, which resolves it and clears it from your queue.
Set expectations

Inbox, canned responses, and automations are on the Growth plan and up. Automation logic today is "all conditions must match". Escalations show in in-app notifications; there's no separate paging system, so check the inbox during the day.

08 — Analytics

See the value you're getting

  • Handled by AI — conversations resolved without a human, and the hours that saved.
  • Deflection rate — share resolved by AI vs. handed to a human.
  • Customer satisfaction — average rating, trends, distribution.
  • Topics — what customers ask about most.
  • Usage vs. plan — conversations used this month, with a projection.
  • Agent performance — conversations handled, response times, ratings.
By design

You'll never see raw AI cost, token counts, or the name of the underlying technology — that's kept private on purpose, so your margins and your brand stay yours.

09 — Plans

Plans, limits & conversation credits

PlanPrice / moConversationsWhat you unlock
Free$0100Website widget, document upload, basic analytics
Starter$352,000+ Q&A pairs, Business Info, business & FAQ page, Telegram
Growth$998,000+ Website crawler, full analytics, Inbox, AI Actions, automations, WhatsApp
Business$24925,000+ Multi-brand, API access, data export, Instagram
Enterprise$499UnlimitedEverything

Need more without changing plans? Add-ons cover extra conversation packs, team seats, and knowledge capacity, plus optional extras like removing branding or a custom domain.

Conversation credits are yours

Prepaid conversation packs become credits you own — they don't expire, don't silently drain, and survive a plan change. Even if a payment is temporarily late, your customers keep getting served from those credits.

10 — Cheat sheet

Get the best results from Scode AI

  1. Before launch, load at least 5 documents or 15 Q&A pairs — use the industry starter kit.
  2. Put hours, address, prices, and policies into Business Info.
  3. Update Business Info monthly. Stale hours or prices are the top cause of wrong answers.
  4. Phrase Q&A the way real customers ask — Arabic, dialect, English, or arabizi.
  5. Always test in the playground before going live.
  6. Use Balanced safety for most businesses; Cautious only for medical/legal.
  7. When it's wrong, fix it once from the inbox — it becomes a permanent Q&A.
  8. Check gap reports weekly and add the top unanswered questions.
  9. Switch on the AI Actions your business needs.
  10. Start on the website widget; add WhatsApp/Telegram once you have paying customers.
  11. For JavaScript-heavy sites the crawler can't read, upload the content as a document.