> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apostra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Distribution for an agency: your own Prime for your clients

> Where an agency sets up its own white-label Prime for its clients: its address, brand, email and iPhone and Mac app, what each step needs and what is left.

An agency can offer its clients its own Prime, under its own name. The
**Distribution** tab is where the agency sets that up itself, in four steps. Each
step checks itself and says what is left, so nothing waits on Apostra's staff.

White-label is part of an agency's plan. It is not the paid Distribution package
that sellers add; see [Distribution for sellers](https://docs.apostra.com/v3/seller-distribution.md).

## Who sees it

Every buyer account with the Prime screens sees the Distribution tab. An account
that uses Apostra only as a gateway, through the API or with its own buyer agent
does not, because its clients never meet the Prime.

Only an account administrator can open it.

## The four steps

| Step | What it sets up | Today |
| - | - | - |
| Your address | The web address your clients use, such as `prime.youragency.com`. | Shows "Not started"; it cannot be set up yet. |
| Your brand | Your name, logo, colours and fonts, read from your organisation's verified domain's `brand.json`, which you set up in Brand Studio. | Live. |
| Your email | Invitations and notifications to your clients, sent from your own subdomain. | Shows "Not started"; it cannot be set up yet. Until it is live, send each client their invitation link yourself. |
| Your iPhone and Mac app | Your own app, published from your own Apple developer account. | Opens once your address is live. |

At the top of the tab, one line says what is left, and each step shows its own next
step. A step that needs a fix says what is wrong and how to fix it.

### Your brand

The step is done once your organisation's verified domain has a `brand.json` that
names your brand. Your clients then see your name and logo in the Prime header.
[Show your agency's name and logo in your Prime](https://docs.apostra.com/v3/identity-setup.md#show-your-agencys-name-and-logo-in-your-prime)
explains where the name and logo come from and how to prove your domain.

The step also shows:

* **Colours and fonts** from the same `brand.json`.
* **Help links.** The support, privacy and terms links your clients see in their help
  menu. The three appear only together. They cannot be set yet, so the step shows
  them as "Not set" and your clients see no help link at all, never Apostra's.
* **Custom styling.** Your own CSS for the Prime, set in Brand Studio. It shows "None"
  until custom styling is available.

## Read it from an agent

An agent reads the same tab with `get({"kind":"distribution"})` in the agency's
account. The answer has the overall status, the "what's left" summary, and each step
(`address`, `brand`, `email` and `app`) with its state, its summary, its one next
step and any problem with its fix. The text answer says the same, for hosts that
read only text. `open_page` with `page: "distribution"` opens the tab in chat.

In a buyer account without the Prime screens, the same call is refused with
`WRONG_ACCOUNT`, as before.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.