Prflght authenticates you through your Solana wallet. There are no passwords or email-based accounts. You sign a message with your wallet to prove ownership, and the dashboard issues an API key you use to authorize all subsequent SDK calls.Documentation Index
Fetch the complete documentation index at: https://docs.prflght.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Dashboard authentication
- Go to app.prflght.xyz.
- Click Connect wallet and select Phantom or Solflare.
- Approve the connection in your wallet extension.
- Sign the authentication message when prompted. The message is plain text — it does not authorize any transaction or transfer of funds.
API key
Your API key is generated automatically when you first authenticate. Find it in the API Keys section of the dashboard. Use the API key alongside your agent’s wallet public key when you initialize theFirewall client:
agentId field must match the agent wallet you registered in the policy editor. Prflght uses this value to look up the correct policy and to verify that requests are coming from the expected agent.
Environment variables
Store your credentials in environment variables rather than hardcoding them:Authentication errors
If theagentId in your SDK config does not match the wallet you registered, or if your API key is invalid or revoked, Prflght blocks the transaction and throws a FirewallDenyError with a descriptive reason. Check the err.reason field to distinguish an authentication failure from a policy violation:
