Configuration & Usage

From admin setup to developer API calls, a complete integration guide

Flow Overview

Admin Setup

Add Supplier → Create Key → Access Control

Developer Usage

Get Key → Send Request → Tool Integration

Go Live

Unified auth, rate limiting, and auditing ready

Setup Flow

Admin operations, done once

Log in to the console, configure suppliers, create Keys, and set permissions to let your team use AI services through the gateway.

1

Add Token Supplier

Go to "Gateway Management" → "Token Suppliers" to add upstream AI providers.

Supplier API Keys are encrypted with AES-256-CBC in the database.

2

Create Virtual API Key

Go to "Gateway Management" → "Key Management" to create virtual API Keys.

Personal Key

Bound to a specific person, suitable for individual developer use

App Key

Bound to an application, supports JWT user-level access control

3

Configure Access Control (Optional)

For App Keys, enable JWT user-level access control. Supports HMAC and RSA signature algorithms.

Usage Flow

Developer operations

Developers simply replace the request domain with the gateway address and use the virtual Key as the Authorization header.

1

Get API Key

The system automatically sends the virtual API Key to the developer's email.

2

View Request Examples

SDKs only need to change the base_url. Supports cURL, Python, Node.js.

3

Integrate with Development Tools

The gateway is compatible with the OpenAI API format.

Claude Code Integration

Set environment variables to route Claude Code through the gateway.