Website Chat puts your AI assistant on your own website — a chat bubble that answers visitors from the same knowledge base and the same bot brain as your WhatsApp. Visitor conversations land in the same inbox.
Website Chat is available on every plan. On the Pro plan you can also remove the "Powered by nashir.ai" badge from the widget.
- Open Connect → Channels from the sidebar, find the Website Chat card, press Create widget, and pick the business it should answer for. You get one widget per business — the widget answers from that business's knowledge base.
- In the builder, set your brand color, upload your logo, and write a greeting (Arabic and English). A live preview updates as you type.
- ⚠️ Add your website's domain to "Allowed domains" and press Save — this is the one step people miss. The widget only works on the domains you list here; it stays hidden everywhere else. Enter the exact hostname with no
https://and no path — for exampleshop.example.com. Add every domain the widget should appear on, each on its own line. - Copy the one-line snippet and paste it into your site just before the closing
</body>tag. It looks like this:
<script async src="https://nashir.ai/widget.js" data-nashir-key="wc_..."></script>
- Plain HTML: paste it before
</body>in your page template. - WordPress: use a "Insert Headers and Footers" plugin (or your theme's Footer Code box) and paste it in the Footer/Body section.
- Odoo: add an Embed Code / HTML building block to your site (or Website → Settings → Custom Code, in the body) and paste the snippet.
- Open your website in a normal browser tab. The install check in the builder turns green automatically the first time the widget loads from an allowed domain.
Continue on WhatsApp (optional)
The widget can offer visitors a Continue on WhatsApp option: a link under the message box, where the visitor leaves their WhatsApp number to carry on the conversation there — and, where phone capture is active, the same WhatsApp form at the moments described below. It is off by default.
- Turn it on in the builder with Show "Continue on WhatsApp", then press Save.
- It can only be turned on when the business has a connected WhatsApp number.
- If that number is disconnected later, the widget stops showing the option by itself, and the builder shows the setting as paused. Your choice is kept: the option comes back on its own as soon as a number is connected again.
- While it is off or paused, the bot is also told not to suggest moving the conversation to WhatsApp.
- WhatsApp messages you send these visitors later may be billed by Meta.
Asking visitors for a phone number
The widget can ask a visitor for a phone number at a moment that justifies it, so your team can get back to them — never as a gate before the chat starts.
- When it asks: when the bot hands the chat to your team, or when a visitor asks about prices, ordering or booking (after the bot has answered).
- When it doesn't: if the visitor already left a number, if the bot is already asking for one in the chat (for example to complete a booking), if the visitor typed a number themselves, or for 7 days after they tap Not now.
- The number is saved on the visitor's contact, with a record of what they agreed to. Their deal stays on the website conversation — contact them from the contact page.
- How visitors agree: on this form, the line under Send tells them that sending their number means you may contact them about their enquiry — there is no box to tick. The WhatsApp form (below) keeps a box they must tick themselves, because WhatsApp requires an explicit opt-in.
- If Continue on WhatsApp is on, visitors are offered WhatsApp instead: the number joins your WhatsApp audience and the deal moves to the WhatsApp contact.
- A number is never saved for a visitor marked do-not-contact, or one who opted out of your WhatsApp messages.
- It's on by default. Turn it off in the builder with Ask for a phone number at the right moment.
Not showing up?
- The domain isn't in "Allowed domains." This is the number-one cause. The widget stays hidden on any domain you didn't list. Add it in the builder and Save, then reload your site. The nashir.ai preview always works even before you add a domain.
- Your subscription has lapsed. If your plan expired, the widget is paused until you renew — renew your subscription and it starts serving again.
Still stuck? Reach out and we'll check your setup with you.