# Set up the console

Set up the Provenance console for your company with your own Attest data, the industry profile, About you, your products, the plan step and the Home views.

Use these settings to make the console fit your company: which claims the Attest pages read, the industry profile and About you answers, which products lead the sidebar, and which views Home shows.

**Before you begin:** sign in as an owner or admin; anyone who sees Overview may set the industry. The tour of the console itself is in [Use the console](https://provenanceauth.com/docs/account/console.md).

## 1. Bring your own Attest data

The Attest pages read the account's **own** claims by session:

- **Verifications** (`/attest/verifications`, called **Claims** for insurance accounts) is the claims
  queue: tiles that open filtered views, the filter bar (search by id, Result, Type, Capture tier,
  Screening, Suggested, Case status, the date range), saved views and a drawer with why each claim
  scored as it did.
- A **claim's page** (`/claims/<id>`) shows the evidence, each check as a sentence, the capture tier,
  "Why this result" against your Attest risk policy's cut-offs with the screening score beside it
  (advisory, never in the score), the decision (Approve, Review or Escalate with a reason), the
  timeline, linked claims and **Export evidence**. A claim from an ID session shows the **Real capture**
  checks of each shot instead. Attest checks that the photos are live from a real camera; it doesn't
  verify who the person is.
- **Capture requests** (`/attest/requests`) lists your capture links with the filter bar. **New capture
  request** starts from an ID session, a claim session or a single photo and previews the message and
  the capture page in your branding. A request's drawer has its status, each shot's checks, file links
  that work for 15 minutes, your retention and **Delete media**. While a request is pending, its drawer has
  **Send reminder** with the count left; the row says when the next one can go, or when one held for quiet
  hours is scheduled ([reminders](https://provenanceauth.com/docs/messaging/reminders.md)).
- **Analytics** (`/attest/analytics`) shows claims attested over 7, 30 or 90 days, results, case
  outcomes and the signals that fire.

Create an Attest key on **Developers →
API keys** (or `POST /v1/account/keys { "name": "Claims intake", "product": "attest" }`): it gets
the account's own carrier, and its response includes that `carrier_id` for your bundles. Until the
account has one, Verifications shows how to create it. The published sandbox data appears only in
the demo sandbox.

## 2. Set the industry profile

Set the account's industry on Overview or **Settings → General** (`PUT /v1/account/profile`).
Insurance accounts see their Attest list labeled **Claims**; every other account sees
**Verifications**. The profile also orders the products on Overview and pins three shortcuts. It
is a console default and the API ignores it.

### The overview endpoint

**curl**

```bash
export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5

curl "$PROVENANCE_API/v1/account/overview?window=7d" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const overview = await (
  await fetch(`${process.env.PROVENANCE_API}/v1/account/overview?window=7d`, {
    headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
  })
).json();
```

**Python**

```python
import os, httpx

overview = httpx.get(
    f"{os.environ['PROVENANCE_API']}/v1/account/overview",
    params={"window": "7d"},
    headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"},
).json()
```

Each entry in `events.series` carries:

| Field | Meaning |
| --- | --- |
| `count` | Events in the window. |
| `points` | Per-bucket counts: 24 hourly buckets for a 24-hour window, 7 or 30 daily buckets otherwise. They sum to `count`. |
| `previous_total` | The same series over the previous window of the same length. |

The response is cached privately for 60 seconds. For an approver, `usage` and `setup` are null and
`events` holds only approval requests. `GET /v1/auth/me` returns the member and the filtered
sidebar the console renders (`nav`); each sidebar group says whether it folds (`collapsible`) and
which tasks its badge counts (`badge_source`).

**Availability:** every plan. Inviting members is available on the Enterprise plan.

### About you and the plan suggestion

The same profile holds the **About you** answers a new company gives at sign-up. Read them with
`GET /v1/account/profile` and change them with
`PUT /v1/account/profile`; fields you leave out keep their value.
Owners and admins write About you; anyone who sees Overview may set the industry.

| Field | Values |
| --- | --- |
| `first_name`, `last_name` | 1 to 100 characters each. Required. |
| `company_name` | 1 to 200 characters. Required. |
| `website` | An `https` address, 200 characters at most. Optional. |
| `country` | An ISO 3166-1 alpha-2 code, such as `US` or `DE`. Required. |
| `interest` | `ai_agents`, `ai_models`, `ecommerce`, `payments`, `banking`, `insurance`, `compliance` or `other`. Required. |
| `interest_other` | A few words with `other`, 100 characters at most. Optional. |
| `team_size` | `just_me`, `2_5`, `6_20` or `21_plus`. Required. |
| `building` | What you're building, 500 characters at most. Optional. |
| `product_updates` | `true` to get product updates by email. Off unless you turn it on. |

The first save with every required answer sets `completed_at`; `missing_fields` lists what's left.
`contact_name` reads back the full name. Choosing `ecommerce` or `ai_agents` also picks the first
[Home view](#3-choose-the-home-views) (the store or agents view) when no one has chosen them. Accounts
that answered before November 11, 2026 keep their single name in `contact_name`; their earlier answers
(You are, the products picked and the volume band) stay readable on the profile and can't be changed.

### Your products

After About you, the console asks which products to show, with the ones the interest recommends ticked.
`GET /v1/account/console_products` reads the ticks and the recommendation;
`PUT /v1/account/console_products` changes them (owners and admins; also
Settings → Your products). Ticked products lead the sidebar and Get started, and the rest sit under
**More products**.

With nothing ticked every product shows; once the account is 14 days old, the products
it has used (an agent, a grant or a decision for Mandate; a store, a checkout approval or a verify for
Authorize; a traffic check for Identify; a capture request for Attest; a Trace inference) lead and the rest
sit under **More products**. With no activity nothing changes, and a ticked product always leads.

An account that never chose keeps the sidebar's usual order (recent use, then the industry). The ticks never
change what your API keys can do.

| Interest | Ticked first |
| --- | --- |
| AI agents, AI models | Mandate, Trace |
| E-commerce and marketplaces | Identify, Authorize |
| Payments, Banking and lending | Identify, Authorize, Attest |
| Insurance, Compliance and risk | Attest |
| Something else | None |

An account created through sign-up reports `profile_required: true` until About you is complete. The
console shows About you to its owner and admins before any other page, and creating or rotating an API
key answers `403` [`profile_required`](https://provenanceauth.com/docs/platform/errors.md#profile_required) until the name and company
are saved. A server can turn this off ([server configuration](https://provenanceauth.com/docs/self-host/configuration.md#console-and-access)).

Members who joined by invite are never asked. An account from before About you existed reports
`about_you_offered: true`, and Get started offers it as an optional card.

The profile's `signup` object describes the account's sign-up: the `kind` and `plan_clicked` a Sign up
link carried (and `interest_preselected`, the interest that kind starts on), the `plan_chosen` on the
plan step, `products_step_due` (About you complete, no products or plan chosen yet) and `plan_step_due`,
true once About you is complete while no plan is chosen and the account is on Free. It is `null` for an
account with no sign-up.

`GET /v1/account/plan_suggestion` suggests a plan from the team size,
using each plan's included seats: the smallest plan whose seats cover the team. A plan picked on the
pricing page at sign-up stays `selected`, and `answers_point_higher` says when the answers suggest more.
21 or more people also sets `talk_to_us`. `estimates` gives each paid plan's monthly fee and extra seats
for the team.

**curl**

```bash
export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5

curl -X PUT "$PROVENANCE_API/v1/account/profile" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "team_size": "6_20" }'
curl "$PROVENANCE_API/v1/account/plan_suggestion" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const headers = { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" };
await fetch(`${process.env.PROVENANCE_API}/v1/account/profile`, {
  method: "PUT",
  headers,
  body: JSON.stringify({ team_size: "6_20" }),
});
const suggestion = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/plan_suggestion`, { headers })).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
headers = {"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}
httpx.put(f"{api}/v1/account/profile", headers=headers, json={"team_size": "6_20"})
suggestion = httpx.get(f"{api}/v1/account/plan_suggestion", headers=headers).json()
```

### The plan step

After Your products, the console shows the four plans as the [pricing page](https://provenanceauth.com/pricing) does, without its
questions: Free, Pro, Growth and Enterprise, with Builders and Merchants tabs. The fees and included seats
come from [`GET /v1/account/billing`](https://provenanceauth.com/docs/api/billing.md#get-v1-account-billing). The suggestion is marked, and each
paid plan shows a monthly estimate for your team. The step is left by choosing a plan.

| Choice | What happens |
| --- | --- |
| Free | `POST /v1/account/plan_choice` records it, then step 4, **Set up text messaging**, opens (or Get started, for an account with no product that sends requests). |
| Pro or Growth | The choice is recorded, then [`POST /v1/account/plan`](https://provenanceauth.com/docs/api/billing.md#post-v1-account-plan) with `return_to: "welcome_texts"` opens Stripe Checkout, which comes back to step 4. |
| Leave Checkout | You stay on Free. The billing view's `finish_upgrade` names the plan, and Get started and Settings → Billing show **Finish upgrading** until you upgrade or dismiss it. |
| Enterprise (**Talk to us**) | `plan: "enterprise"` is recorded and one email with your account and About you answers goes to the team. You stay on Free, and Get started says the team will email you. `team_email` in the response says whether the email went. |

Step 4, **Set up text messaging**, asks only for the business details About you doesn't hold, and how
consent is held: **Provenance asks** or **We have it** with how people agree. On Free it saves them
(**Save details**) and the number is requested when you move to Pro; after a paid checkout it requests the
number (**Request number**). **Skip for now** leaves a line on Get started. See
[your own sending number](https://provenanceauth.com/docs/messaging/sending-numbers.md).

The choice is recorded once per sign-up; a later call answers `recorded: false` and sends nothing. On a
server without Stripe, Pro and Growth are disabled; Free and Enterprise still work.

## 3. Choose the Home views

Home has two views: **Your agents** (decisions, confirmations, the share approved, the time to decide)
and **Your store** (verified agent orders, confirmations, Identify traffic, blocked). Which ones show
follows your last 30 days: agent decisions show Your agents, verified agent orders or Identify traffic
show Your store, and both show both. With neither, your industry profile picks. An owner or admin can
choose the views under **Settings → Home views**.

Every overview response says which views show and why in `home_views` (`by` is `activity`,
`industry` or `override`). Add `view=agents` or `view=store` to get that view: its hero number with a
point a day across the window, and three tiles, each with its change against the previous window
(`GET /v1/account/overview?view=agents`). Approvers get no view; their Home is their approvals.

**curl**

```bash
curl -X PUT "$PROVENANCE_API/v1/account/home_views" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "views": ["store"] }'
```

**Node**

```ts
const res = await fetch(`${process.env.PROVENANCE_API}/v1/account/home_views`, {
  method: "PUT",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ views: ["store"] }),
});
const homeViews = await res.json();
```

**Python**

```python
import os
import httpx

home_views = httpx.put(
    f"{os.environ['PROVENANCE_API']}/v1/account/home_views",
    headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"},
    json={"views": ["store"]},
).json()
```

Send `{ "views": null }` to go back to choosing by activity.

## Errors you might see

| Symptom | Cause | Fix |
| --- | --- | --- |
| `403` [`insufficient_role`](https://provenanceauth.com/docs/platform/errors.md#insufficient_role) | Your role can't make this change | Ask an owner or admin. |
| `403` [`profile_required`](https://provenanceauth.com/docs/platform/errors.md#profile_required) | About you isn't complete, so keys can't be created or rotated | Save your name and company in About you. |

## See also

- [Use the console](https://provenanceauth.com/docs/account/console.md)
- [Plans and usage](https://provenanceauth.com/docs/account/plans-and-usage.md)
- [Your own sending number](https://provenanceauth.com/docs/messaging/sending-numbers.md)
