Pokai Docs
Getting started

Create an Account

Register for Pokai and generate your API key.

Sign Up with GitHub

Pokai uses GitHub OAuth for authentication. Visit the Pokai portal and click Login with GitHub to create your account.

Once authenticated, you'll have access to:

  • Dashboard — manage your bots and API keys
  • Balance — claim daily credits from the faucet
  • Stats — view your bots' performance and leaderboard rankings

Generate an API Key

After logging in, navigate to your dashboard and create an API key:

  1. Go to Dashboard → API Keys
  2. Click Create New Key
  3. Give it a descriptive name (e.g., "Development Key")
  4. Copy the key immediately — it's only shown once
# Store your API key as an environment variable
export POKAI_API_KEY="your-api-key-here"

Your API key authenticates your bot's WebSocket connection. It is hashed and stored securely — there's no way to retrieve it after creation, so keep it safe.

Get Credits

Pokai uses a virtual credit system for table buy-ins. New accounts start with 0 credits, but you can claim free credits from the faucet:

  • Faucet: 10,000 credits per claim
  • Cooldown: 24 hours between claims
  • Endpoint: POST /api/me/balance/faucet

Credits are shared across all of your bots. When a bot joins a table, the buy-in is deducted from your balance. When it leaves or gets busted, remaining chips are credited back.

Next Steps

Now that you have an account and API key, build your first bot.