Why messaging belongs inside the product

For many small and mid-sized businesses, WhatsApp, Instagram and Facebook are where customers ask about orders, bookings and invoices. The answers sit in the software you sell. The POS knows whether the order is ready, the ERP knows the balance, the booking system knows the free slots. When staff reply from a separate phone, they switch screens, copy order numbers by hand and lose the record of what was said.

Putting conversations inside your product closes that gap. Staff answer with the order beside the chat, the history stays on the customer record, and your product becomes the place the business runs from. For a vendor, that can make accounts stickier and give clients one more reason to choose you.

Three ways to add it

  • Build it yourself. Integrate each channel's API, store messages, build an inbox and maintain all of it.
  • Embed a provider's inbox. Use a provider's partner API and SDK to show a ready-made inbox inside your screens, scoped to each client.
  • Use a provider's API with your own interface. The provider runs channels and messaging, and your team builds every screen.

Most vendors end up comparing the first two, so this guide focuses on them.

Illustrative preview
Illustrative preview of Exenra Embedded, which is in partner preview. The ERP shown is a generic example, not a real product.

What building it yourself involves

Building is entirely possible, and for some vendors it is the right call. Go in with a clear view of the scope:

  • Channel access. Each platform has its own developer programme, permission review and policies. To serve many client businesses on WhatsApp, you either become a Meta Tech Provider or work with one.
  • Messaging infrastructure. Webhooks that receive every incoming message, retries when deliveries fail, media storage, delivery and read statuses, and rate limits on outgoing traffic.
  • Platform rules. WhatsApp's 24-hour customer service window, template submission and approval, opt-in handling, and separate rules for Instagram and Facebook.
  • The inbox. Real-time updates, assignment, notes, unread states, search, permissions and mobile layouts. Most of the ongoing product work sits here.
  • AI and automation. Clients will ask for automatic replies, which brings knowledge management, handoff rules and cost control.
  • Ongoing change. Platforms version their APIs, retire old versions and update policies, so someone on your team owns keeping up for as long as the feature exists.
  • Support. When a client's number verification fails or a template is rejected, the ticket comes to you.

Building makes sense when messaging is central to what you sell, you have a team that can own it for years, and you need control over every detail. Embedding makes sense when messaging is a feature your clients expect and your engineers are better spent on your core product.

What embedding changes

Embedding moves channel and inbox work to a provider. You integrate once, through a partner API called from your server and an SDK in your front end, and each client gets the inbox inside your product. Weigh the trade-offs honestly:

  • Speed. Channels, the inbox and AI already exist, so a pilot can reach clients far sooner than a build.
  • Control. You decide where the inbox appears and what business context sits beside it, though not every detail of the interface or the provider's roadmap. Ask what can be themed and configured.
  • Dependency. The provider's reliability, policies and pricing become part of your product, so due diligence matters more than for an ordinary plug-in.
  • Data. Conversations are stored by the provider. You need clear answers on where, for how long, and how clients export or delete them.
  • Commercials. Decide early whether messaging is part of your plans, a paid add-on, or something clients contract for directly.

The security model to insist on

Whoever builds it, an embedded inbox handles your clients' customer conversations. These are the controls to expect.

Keys stay on your server

The partner credential that identifies you as the vendor belongs on your backend only. It should never ship in browser code, a mobile app bundle or a configuration file a client can download. If a provider's quick-start puts a secret key in front-end code, treat that as a warning sign.

Short-lived, scoped sessions

When an employee of one of your clients opens the inbox, your backend asks the provider for a session for that tenant and that user, with that user's permissions. The provider returns a short-lived token, your page hands it to the SDK, and the SDK loads conversations for that tenant only. A leaked token expires quickly and only ever covered one person's view.

Illustrative preview
Illustrative session flow for Exenra Embedded. The partner key stays on your server, and the browser only receives a short-lived, scoped token.

Tenant isolation

Each of your clients should be a separate tenant on the provider's side, mapped to the matching account in your system. Conversations, channel connections, AI knowledge and reports stay inside that tenant. A user at one retailer must never be able to see, search or receive another retailer's conversations, whatever their role.

Plan for the lifecycle too. Session permissions should follow the roles in your product, and when a client leaves, channels should be disconnected and data handled in a way you can explain to them.

Channel onboarding for each client

Each client connects its own channels. A WhatsApp number belongs to the client's business, sits in the client's own WhatsApp Business account and is approved under the client's name. The same goes for its Facebook Pages and Instagram accounts. Inside your product, onboarding usually follows this pattern:

  1. An admin at the client starts setup from your settings screen.
  2. They sign in with their own Meta account and approve access through Meta's official flow.
  3. They register or choose a WhatsApp number, confirm the display name, and connect Pages and Instagram accounts the same way.
  4. The provider links those channels to the client's tenant, and messages start arriving in the embedded inbox.

Expect some clients to need help. Common sticking points are finding who holds admin rights to the business's Meta account, numbers still active in a WhatsApp app, display names that need changing, and business verification. Decide in advance whether your support team or the provider's answers these questions, and give clients a short setup guide.

Questions to ask any provider

  • Are you a Meta Tech Provider or Business Solution Provider, and which channels are available today rather than planned?
  • Who owns each client's WhatsApp Business account and number, and can a client take them elsewhere?
  • How are partner keys issued, rotated and revoked?
  • How are sessions scoped, and how long do tokens last?
  • How is tenant data separated, and how is that tested?
  • Where are messages stored, for how long, and how do export and deletion work?
  • Which events can we receive by webhook, are they signed, and what happens when our endpoint is down?
  • How much of the embedded interface can we theme or configure?
  • How is AI controlled per tenant, and is client data used to train shared models?
  • Who supports our clients when a channel connection fails?
  • Which features are available now, which are in preview, and which are planned?

Where Exenra Embedded stands

Exenra Embedded is in partner preview. It offers a Partner API, a JavaScript SDK, scoped sessions and tenant mapping, so a vendor's clients can use the Exenra inbox inside the vendor's product, each connecting its own channels. Webhooks are rolling out. We onboard a small number of software partners at a time and scope each integration with the partner's product team. If you are weighing build against embed, talk to our integration team and we will walk through your architecture with you.