For example, if you send an inbox notification to user1 with context tenantA but do not instantiate the Inbox SDK with tenantA, you will not see the message. This allows you to build inbox configurations mapping to your different workspaces. Alternatively, you can create a global inbox by not sending a tenant_id

TENANT AUTO-INFER

Courier may also be auto-inferring the Tenant based on a single-user tenant membership, so if you have created tenant memberships, you need to set up your Inbox and Toast SDKs with a tenantId. More details on auto-infer here

React

You can instantiate the Courier React Inbox and Toast components

<CourierProvider clientKey="..." userId="user1" tenantId="tenantA">
  <Inbox />
  <Toast />
  {children}
</CourierProvider>

Components

window.courier.init({
  clientKey: "...",
  userId: "user1",
  tenantId: "tenantA",
});