Authentication

Learn how to authenticate with the Nicrron API and configure your Provider Keys securely.

The Nicrron API Key

All requests to the Nicrron API must include your Nicrron API key in the Authorization header. You can generate one from your dashboard.

Authorization: Bearer sk-ncr-...

Keep your keys safe: Never expose your Nicrron API key in client-side code (like a browser or mobile app). Always make requests from a secure backend server.

Configuring Provider Keys (BYOK)

Nicrron operates on a "Bring Your Own Key" (BYOK) model. Instead of paying a markup on API calls through us, you connect your own OpenAI or Anthropic API keys to Nicrron. We securely proxy the traffic to them using your credentials.

  1. Navigate to the Keys tab in your dashboard.
  2. Click Add Provider Key.
  3. Select the provider (e.g., OpenAI, Anthropic, Google).
  4. Paste your raw provider key (e.g., sk-proj-...).

Once saved, your provider key is encrypted using AES-256-GCM. When you make a request to Nicrron using your Nicrron API key, our gateway automatically decrypts your provider key in memory, injects it into the outbound request to OpenAI/Anthropic, and handles the response.

Documentation | Nicrron | Nicrron