Adding chat to your website and app, while keeping one inbox
Customers reach you on WhatsApp, your website and your app. Here's how to add a chat widget and push notifications without splitting your team across three tools, plus what developers need to know.
Short answer: Add a chat widget and push notifications to your website and app with an SDK that sends every conversation into the same inbox as WhatsApp, and identify logged-in users with a server-side signature so each customer has one history.
TL;DR
A chat widget on your site or in your app catches customers at the moment they have a question, often right before buying.
Don't create a second inbox. Web and app chats should land in the same place as WhatsApp, with the same team and rules.
Identify logged-in users securely, so their in-app chat and their WhatsApp chat build one customer history.
Why add chat beyond WhatsApp
WhatsApp is where most Gulf customers prefer to talk. But some moments happen elsewhere:
A visitor on your pricing page who doesn't want to leave the site to ask a question
A user inside your app who needs help with an order on the screen in front of them
Customers who don't want to share their phone number yet
A chat widget covers those moments, and push notifications let you reach app and web users without paying per message.
The trap: a second inbox
Many businesses add a website chat tool that comes with its own inbox. Six months later, the team checks WhatsApp in one place, web chat in another and app messages in a third. Response times grow, and nobody sees the full customer story.
The rule: every channel, one inbox. Same routing, same saved replies, same AI agent, same reporting.
What developers should look for in an SDK
Requirement
Why
A small script tag or npm package
Quick to install, easy to update
Arabic and right-to-left support
Your customers' default language
Allowed-origin checks
A public key alone can't be misused on another site
Anonymous visitors can chat freely. When a user logs in, your server should sign their user id (for example with an HMAC), and the widget should send that signature along. This proves the identity really comes from your system. A verified identity can then be linked to an existing contact by phone or email, so the same customer's WhatsApp history and in-app history sit together.
A rollout plan
Install on one page first, such as pricing or the help centre, with office hours set.
Identify logged-in users once the basics work.
Add push for order updates and announcements, asking permission after the user sees value.
Route web and app chats with the same rules as WhatsApp.
Measure where chats start (page, app screen) to learn where customers get stuck.
What it looks like in code
With the Waasl web SDK (in preview), the basic install is a few lines:
import Waasl from "@waasl/web";
Waasl.init({ appKey: "pk_…", language: "ar" });
The full guide, including identity verification and push, is in the Waasl developer docs.
Key takeaways
Chat widgets and push catch customers where WhatsApp can't, at the moment of need.
Keep every channel in one inbox, with the same team, rules and reporting.
Identify users with a server-side signature so one customer means one history.
FAQ
Can website chat and WhatsApp share one inbox?
Yes, if your chat provider supports both. With Waasl's SDK, website and app conversations land in the same shared inbox as WhatsApp, with the same routing, saved replies, AI agent and reporting, so your team doesn't switch between tools and nobody misses part of the customer's story.
How do I identify logged-in users in a chat widget?
Have your server compute a signature of the user's id, for example an HMAC with your secret key, and pass the id and signature to the widget when the user logs in. The secret key must never be in the browser or app; only the public key belongs in the front end.
Do push notifications need permission?
Yes. Browsers and mobile operating systems ask the user to allow notifications. Ask at a moment when the user has already seen value, such as after their first order, rather than on their first visit, and respect quiet hours so people don't turn notifications off.
How Waasl helps
Our pick: Starter · 32KWD/mo
One inbox for WhatsApp, web and app
The Waasl SDK for the web and React Native (in preview) adds a chat widget and push notifications to your site and app. Chats land in the same shared inbox as WhatsApp, and a verified login links a customer's in-app and WhatsApp history to one contact.
1,000free service messages per number each month, from 1 Oct 2026
WhatsApp Platform
WhatsApp Business pricing, explained: what you pay for from 1 October 2026
From 1 October 2026 Meta charges for service replies too, after 1,000 free ones per number each month. Here's what you pay for, what is still free, and how to keep the bill predictable.
Yahya Alshaar·5 min readRead article
WhatsApp Platform
24hto reply with free-form messages (service-message pricing applies)
WhatsApp Platform
The 24-hour customer service window, explained for busy teams
Every WhatsApp conversation runs on a clock. Here's what the 24-hour window allows, what happens when it closes, and how to organise your team so it rarely does.
Yahya Alshaar·3 min readRead article
WhatsApp Platform
6 checksto run before you press submit
WhatsApp Platform
How to get WhatsApp templates approved the first time
Rejected templates cost days. Here are the rules Meta's review actually checks, the mistakes we see most often, and a checklist to run before you press submit.
Yahya Alshaar·3 min readRead article
Try it on your own number
Shared inbox, automation and AI agents in your dialect — 14 days free, no card.