Skip to content

Account & Device Pairing

When you install Maktabi Agent on your desktop computer, pairing your device links your local workspace to your cloud credit balance and subscription tier.

How Pairing Works

  1. Launch Maktabi Agent on your desktop.
  2. On first launch, enter your registered email and password (the same credentials used on maktabi.space).
  3. The app contacts https://api.maktabi.space/api/desktop/login and requests a secure session token.
  4. The server validates your account and issues a cryptographic bearer token prefixed with mk_dsk_....
  5. The token is stored securely in your operating system’s vault (Windows Credential Manager via keytar). The raw plaintext token is never stored on disk in plaintext.

Monitoring Your Balance

  • Desktop Status Bar: View your remaining credits and token allowance in real time in the bottom-left corner of the application window.
  • Web Dashboard: Visit maktabi.space/dashboard to view:
    • Total credit balance (e.g. 2,000 credits = 2,000,000 tokens).
    • Active subscription days remaining.
    • Registered desktop machines and active sessions.

Managing & Revoking Sessions

If you lose a laptop or migrate to a new workstation:

  1. Log in to maktabi.space/dashboard.
  2. Navigate to the Connections tab.
  3. Locate the workstation by device label (e.g., Office-Desktop-Win11).
  4. Click Revoke. That machine’s session token will immediately be deactivated in the PostgreSQL database.