# A realm per brand

> Give each of your brands its own host names, wording and sign-in, by giving it a realm of its own.

When you run several brands, each one's customers expect to sign in at that brand's address, on pages that speak in
its voice. Today you do that with a realm per brand: each answers at its own host names, with its own wording on its
sign-in and consent pages, its own apps and its own sign-in settings. A sign-in per brand within one realm, your own
logo and colors, and host names on your own domain are planned.

## Before you begin

- **Privilege:** `RealmOwner` in the realm the brand's realm is created beneath (your customer realm), which also
  reaches the brand's realm once it exists.
- **Where:** the API, for creating the realm and its host names, and for its wording, apps and settings.
- **The brand's names:** the host names it signs in at, under `cvyuh.com`, such as `brand-a.cvyuh.com`.

## How it works

Each brand's realm is a full realm, beneath your customer realm or beside it. What makes it the brand's:

| What | Where it's set |
|---|---|
| The address customers sign in at, such as `brand-a.cvyuh.com` | The realm's [Host names](/platform/realms/hostnames/) |
| The issuer apps see | The [Realm base URL](/platform/realms/realm-base-url/) |
| The wording on sign-in and consent pages, per language | The realm's message bundle: see [Pages in the user's language](/workforce-identity/authentication/languages/) |
| The name customers see for each app | The app's `clientName`: see [The consent page](../../consent/consent-page/) |
| How customers sign in | The realm's [Sign-in chains](/workforce-identity/authentication/sign-in-chains/) |
| The name a passkey is saved under | `rpName` in the realm's passkey settings: see [Passkey sign-in for customers](../../sign-in/passkeys-for-customers/) |

## Set it up

1. **Create the brand's realm,** with the brand's host names. See
   [Realms and sub-realms](/platform/realms/sub-realms/).
2. **Set its wording** for each language your customers use. See
   [Pages in the user's language](/workforce-identity/authentication/languages/).
3. **Name its passkeys** with the brand's name, in `rpName`.
4. **Register the brand's apps** in its realm, each with the name customers should see.

## What customers see

The brand's host name in the address bar, the brand's wording on every sign-in and consent page, and the brand's name
when their device saves a passkey. The pages' layout and colors are the same for every realm.

## Limits and defaults

| Limit | Default | Can it be raised? |
|---|---|---|
| Host names per realm | 3 | Cvyūh raises it on request |
| Domains host names can be on | Under `cvyuh.com` only | Your own domains are planned |
| Look of the pages | The same for every realm | Your own logo and colors are planned |

## Troubleshooting

| Symptom | Cause | Fix |
|---|---|---|
| A new host name doesn't answer over HTTPS | Its certificate isn't ready yet | Wait a few minutes; a name one label beneath `cvyuh.com` is covered at once |
| A host name on your own domain never answers | Certificates are obtained only for names under `cvyuh.com` | Use a name under `cvyuh.com` until your own domains arrive |
| A host name is refused with `409` | Another realm holds it | Choose another name |
| A customer of brand A can't sign in at brand B | Each realm holds its own accounts | Create their account in brand B's realm too |

## Audit records

Creating the realm and changing its host names are recorded as changes to the realm. Changes to its message bundle,
apps and sign-in settings are in its [Change history](/audit-reports/audit-trail/change-history/).

## Good to know

- **A customer of two brands has two accounts.** Realms share nothing, so the same person signing in to two brands
  is two users, with a passkey for each.
- **Look and feel is wording today.** Logos, colors and layouts per brand are planned; see
  [What's next for customer sign-in](../../sign-in/whats-next/#your-logo-colors-and-layout).
- **Page text has no links.** The wording is shown as text, so a link to the brand's terms or privacy policy can't be
  placed on the sign-in or consent page. Show them in the brand's app before it sends customers to sign in.

## Coming next

- [A sign-in per brand](../../sign-in/whats-next/#a-sign-in-per-brand): every brand in one realm, one account per
  customer.
- [Your own domains](/platform/realms/whats-next/#your-own-domains): host names such as `login.brand.example`, with
  certificates obtained for you.

## Related

- [A realm per business customer](../business-customer-realms/): realms by customer rather than by brand.
- [Host names](/platform/realms/hostnames/): the addresses a realm answers on.
- [What's next for customer sign-in](../../sign-in/whats-next/): a sign-in per brand within one realm.
