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.

What's inside?
  1. TL;DR
  2. Why add chat beyond WhatsApp
  3. The trap: a second inbox
  4. What developers should look for in an SDK
  5. Identity, done properly
  6. A rollout plan
  7. What it looks like in code
  8. Key takeaways
  9. FAQ

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

RequirementWhy
A small script tag or npm packageQuick to install, easy to update
Arabic and right-to-left supportYour customers' default language
Allowed-origin checksA public key alone can't be misused on another site
Secure identity (server-side hash)Nobody can impersonate a logged-in customer
Push notifications (web and mobile)Reach users for free, with WhatsApp as fallback
Events such as unread countSo your own UI can show badges and open the chat

Identity, done properly

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

  1. Install on one page first, such as pricing or the help centre, with office hours set.
  2. Identify logged-in users once the basics work.
  3. Add push for order updates and announcements, asking permission after the user sees value.
  4. Route web and app chats with the same rules as WhatsApp.
  5. 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.

  • Chat widget for web and React Native
  • Web and mobile push from the same console
  • Verified identity links app and WhatsApp history
  • Arabic, right-to-left and office hours built in

14 days free · no card

Share WhatsApp LinkedIn X

Try it on your own number

Shared inbox, automation and AI agents in your dialect — 14 days free, no card.

Pick your plan — start free

Every plan starts with a 14-day free Growth trial, no card. Your pick waits in Billing until you decide.

Starter

One number, a small team, zero chaos

32KWD/ monthbilled monthly · cancel anytime

26.67KWD32/ monthbilled 320 KWD yearlySave 64 KWD

  • 3 team seats
  • One number or channel
  • 2,000 campaign recipients a month
Start with Starter
Most popular

Growth

Automation, AI agents and analytics

75KWD/ monthbilled monthly · cancel anytime

62.5KWD75/ monthbilled 750 KWD yearlySave 150 KWD

  • AI agents in your Gulf dialect
  • Analytics: response, resolution, CSAT
  • 8 team seats
Start 14-day free trial

Scale

For contact centres and larger teams

189KWD/ monthbilled monthly · cancel anytime

157.5KWD189/ monthbilled 1,890 KWD yearlySave 378 KWD

  • 20 team seats
  • Custom roles and an audit log
  • SIP connection with failover
Start with Scale

Enterprise

Your terms, our platform

from590KWD/ monthAnnual contract

  • Unlimited seats
  • Priority support
Talk to sales

No card · cancel anytime