***

title: Account Portal
subtitle: 'Manage your API keys, billing, and developer account'
slug: account/overview
----------------------

# Account Portal

`Accóunt_Init // Óverview`

**ᚠ ᛫ ᛟ ᛫ ᚱ ᛫ ᛒ ᛫ ᛟ ᛫ ᚲ**

The **Account Portal** at [account.forboc.ai](https://account.forboc.ai) is your command center for the ForbocAI ecosystem. Manage API keys, subscriptions, and billing — all in one place.

***

## Getting Started

<div>
  Accéss_Gránt // Auth_Sequénce
</div>

### 1. Create Your Account

Navigate to [account.forboc.ai](https://account.forboc.ai) and sign up with your email. Your credentials are secured with bcrypt hashing and JWT session tokens.

### 2. Generate API Keys

Once signed in, go to **Credential Management** to create API keys for your game.

1. Click **Generate New Key**
2. Copy the key immediately — it is shown **once** and cannot be retrieved again
3. Add it to your environment:

```bash
export FORBOCAI_API_KEY=fb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

<Warning>
  **Never commit API keys to version control.** Use environment variables or a secrets manager. Keys are stored as SHA-256 hashes — the raw key cannot be recovered from the server.
</Warning>

### 3. Choose Your Plan

Select the tier that matches your scale:

| Tier          | Price    | Daily API Requests | Best For                  |
| ------------- | -------- | ------------------ | ------------------------- |
| **Initiate**  | Free     | 1,000              | Prototyping and testing   |
| **Operative** | \$49/mo  | 50,000             | Indie games in production |
| **Architect** | \$299/mo | Unlimited          | Studios and enterprise    |

Upgrade at any time from the **Billing & Usage** page. Payments are handled securely via Stripe.

***

## Features

<div>
  Módule_Mánifest // Feáture_Set
</div>

<CardGroup cols={2}>
  <Card title="API Key Management" icon="fa-duotone fa-key">
    Generate, inspect, and revoke API keys. Each key has a unique prefix for easy identification.
  </Card>

  <Card title="Billing & Subscriptions" icon="fa-duotone fa-credit-card">
    Manage your subscription tier, view usage, and access the Stripe billing portal.
  </Card>

  <Card title="Usage Dashboard" icon="fa-duotone fa-chart-bar">
    Monitor daily API calls, npc counts, and resource allocation across your projects.
  </Card>

  <Card title="Secure Auth" icon="fa-duotone fa-shield-check">
    JWT-based sessions with HttpOnly cookies. Passwords hashed with bcrypt (12 rounds).
  </Card>
</CardGroup>

***

## Using Your API Key

Once you have an API key, configure it in your game's SDK setup:

```typescript
import { createNPC, createBrowserCortex } from '@forbocai/browser';

// The API key is used to authenticate with the Neuro-Symbolic Grid
const cortex = createBrowserCortex({
  apiKey: process.env.FORBOCAI_API_KEY,
  model: 'smollm2-135m',
});

const npc = await createNPC({
  cortex,
  persona: 'A wise merchant who speaks in riddles...',
});
```

<Info>
  **Tip**: Use separate API keys for development and production environments. You can create as many keys as you need from the portal.
</Info>

***

## Security

| Protection           | Details                                                            |
| -------------------- | ------------------------------------------------------------------ |
| **Password Storage** | bcrypt (12 salt rounds) — never stored in plaintext                |
| **Session Tokens**   | JWT with 7-day expiry, HttpOnly + Secure + SameSite cookies        |
| **API Key Storage**  | SHA-256 hash only — raw key shown once at creation, then discarded |
| **Key Revocation**   | Instant soft-delete with audit trail                               |
| **Payments**         | Stripe-hosted checkout — card details never touch our servers      |

***

<div>
  ᛭ ᛫ ᛬ ᛫ ᛭
</div>

> *Y̸o̴u̵r̶ ̷k̶e̵y̴s̷ ̸u̶n̵l̶o̸c̴k̵ ̷t̸h̶e̸ ̷G̴r̵i̵d̸.*
