Channels integration

Add the website chat widget

Install the Naqla chat widget on your website so your AI agent answers visitors and captures leads.

5 min readWorks in Arabic & English

Website chat

Channels

Add a chat widget so your AI agent answers website visitors instantly.

Connect in Naqla

The website chat widget adds a chat bubble to your site. Visitors chat with your AI agent, and every conversation lands in your Naqla inbox as a lead.

Create a widget key

  1. Open Integrations and find the Website card.
  2. Click Create key and give it a name, for example Main website.
  3. Add the allowed domains where the widget may load, such as yourbusiness.com.
  4. Copy the key. It starts with nq_web_.

You can create several keys, for example one per website or one for testing. Each key shows when it was last used.

Install the widget

Click Installation method on the card to get the code snippet for your key. It looks like this:

<script
  src="https://cdn.naqla.ai/widget.js"
  data-key="nq_web_YOUR_KEY"
  async
></script>

Paste it just before the closing </body> tag on every page where the chat should appear.

Platform Where to paste the code
WordPress Use a header/footer code plugin and paste it in the footer section
Shopify Online Store → Themes → Edit code → theme.liquid, before </body>
Wix Settings → Custom code → Add code, placed in the body end on all pages
Webflow Site settings → Custom code → Footer code
Custom site Add it to your main layout or template file

Customize the widget

From Manage on the Website card you can set:

  • Colors and position (bottom right or bottom left).
  • Welcome message and quick-reply buttons.
  • Language: the widget follows the page language and supports Arabic (RTL) and English (LTR).
  • Lead form: ask for a name and phone number before or during the chat.

Troubleshooting

Problem What to do
The chat bubble doesn’t appear Check that the domain is in the key’s allowed domains and the script is before </body>
“Invalid key” in the browser console Make sure the key wasn’t deleted, and copy it again
Widget appears twice The snippet is installed in two places. Keep only one

Remove the widget

Delete the snippet from your site. To stop a key from working immediately, click the delete icon next to it on the Website card.

Was this article helpful?