# Dashboard

toani Facilitate Dashboard is a Next.js 14 web application for managing account identity, compliance status, spending authorization, and transaction records.

**Login**: Connect your wallet (MetaMask, WalletConnect, or other RainbowKit-supported wallets) plus SIWE (Sign-In with Ethereum). Your wallet address is your identity; no username or password needed.

***

## Overview Page

**Path**: `/dashboard`

Four status cards provide a quick account summary:

| Card              | Contents                                                                      |
| ----------------- | ----------------------------------------------------------------------------- |
| **Facilitate ID** | Wallet address (clickable to copy)                                            |
| **Payer Status**  | Is payer role configured? Is API Key generated? Is an active Mandate present? |
| **Payee Status**  | Is payee role configured? Is payment wallet bound?                            |
| **KYC Status**    | Current verification status and quick action link                             |

***

## Payer Page

**Path**: `/dashboard/payer`

Payer management page includes:

* **Wallet Balance**: USDC balance in your connected wallet and available funds on Base network
* **API Key Management**: Generate, view (only prefix shown), reset. Used by MCP Gateway for API calls
* **Current Active Mandate**: Per-tx limit, total budget, usage progress bar, expiration time

***

## Intent Mandates Page

**Path**: `/dashboard/payer/intent-mandates`

Dedicated page to manage all Intent Mandates.

**Creation Form**:

| Field            | Description                  | Example              |
| ---------------- | ---------------------------- | -------------------- |
| **Title**        | Mandate name                 | "Daily Agent Budget" |
| **Total Budget** | Total budget in USDC         | 10.00                |
| **Per-Tx Limit** | Maximum USDC per transaction | 1.00                 |
| **Valid Days**   | Days until expiration        | 30                   |

**Sign to Activate**: After creating, click the sign button; your wallet prompts an EIP-712 signature request. Once confirmed, Mandate status becomes `active`.

**Status Labels**:

| Status      | Available Actions                |
| ----------- | -------------------------------- |
| `pending`   | Sign, edit, delete               |
| `active`    | Revoke, renew, view details      |
| `exhausted` | Create new Mandate, view details |
| `expired`   | Create new Mandate, delete       |
| `revoked`   | Delete                           |

***

## Payee Page

**Path**: `/dashboard/payee`

Payee management page includes:

* **Bind Payment Wallet**: Enter your USDC payment wallet address. This address receives all x402 settlement funds. Binding is permanent
* **API Key Management**: Generate, view prefix, reset

***

## KYC Page

**Path**: `/dashboard/kyc`

Identity verification page with integrated zkMe Widget:

1. Click "Start Verification"
2. zkMe Widget guides document upload and liveness detection
3. Results display after completion

| Status     | Meaning                                 |
| ---------- | --------------------------------------- |
| `pending`  | Verification in progress or not started |
| `approved` | Verification passed (ongoing validity)  |
| `rejected` | Verification failed; resubmit available |

***

## Settings Page

**Path**: `/dashboard/settings`

* **Facilitate ID**: Your wallet address with one-click copy
* **Wallet Address**: Currently connected wallet
* **Sign Out**: Disconnect wallet and clear session


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toani.ai/toani-facilitate/getting-started/dashboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
