PLATFORM AND DASHBOARD FLOW

API keys app flow

A platform and dashboard flow in 4 screens, from no keys yet to keys and revoke. Start your app from it, and your agent draws it on your own design system.

  • 4 screens
  • 5 patterns
  • Mobile and desktop
  • Brand: Pilar (made up)

The screens, in order

MobileDesktop
  1. No keys yetAPI keys, No keys yet, mobile
  2. Create keyPro
  3. Key createdPro
  4. Keys and revokePro

See all 4 screens, at mobile and desktop.Pro opens the whole flow in your Universe, with the prompt and code for each screen.

Upgrade to ProAlready Pro? Open in Universe

When to use it

USE WHEN

Any product with an API or integrations a customer builds themselves (ERP sync, accounting export, automations).

AVOID WHEN

Connecting a ready-made app, which is an OAuth integration and not a pasted key; personal access tokens in consumer apps.

Patterns and why they work

5 decisions this flow makes, and the clarity each one buys.

  • Show the secret once

    The full key appears only after create

  • Scoped access per area

    None / Read / Write per area

  • Masked keys with last used

    Which key is which without exposing it

  • Pause before revoke

    The Enabled toggle pauses, Revoke is final

  • Empty state that teaches

    What a key is for in one line

Each pattern also has its psychology, the intuition behind it and what it rules out, plus layout notes for mobile and desktop.

Open in Universe

States to cover

The screens people forget until a user hits them.

  • No keys
  • Create with scopes
  • Key created and copied
  • Key list
  • Key disabled
  • Key expiring soon
  • Key expired
  • Unused key warning
  • Revoke confirm
  • Revoked
  • Test mode keys
  • Permission denied for non-admins

Pairs with

The flows this one hands off to or comes back from.

More Platform and Dashboard flows

Drawn for the same brand, so they fit together.

Questions

When should I use a api keys flow?
Any product with an API or integrations a customer builds themselves (ERP sync, accounting export, automations). Use another pattern for connecting a ready-made app, which is an OAuth integration and not a pasted key; personal access tokens in consumer apps.
Which screens does it need?
This pattern uses 4: No keys yet, Create key, Key created and Keys and revoke. Plan for these states too: no keys, create with scopes, key created and copied, key list.
Is Pilar a real app?
No. Pilar is a made-up B2B operations platform: payments, spend approvals, invoices, billing for finance and ops teams, so the screens show the pattern without copying anyone's brand. Your agent redraws the flow on your own tokens and components.
How does my agent use this flow?
Connect Claude Code, Codex or Claude Desktop to Wonderblok over MCP. The agent calls use_pattern for this flow, reads its screens, rules and states, and draws them in your file.
Is it free?
Browsing Universe is free. Full pattern notes and use with your agent are part of Pro, and the Free plan opens a few flows in full each month.

Start from a pattern that works. Your agent draws it on your brand.

Browse Universe free