Docs/Quickstart

// quickstart

Your first gateway request

From zero to a working LLM call through the 1KeyCore gateway in under 2 minutes. You need a 1KeyCore account and at least one provider API key.

01

Create an account

Sign up at /signup — this gives you a tenant workspace. You'll land on the dashboard.

02

Add a provider key

Go to Dashboard → API Keys, select your provider, paste your key, and click Save. It is AES-256 encrypted before storage — we never log the raw value.

03

Get your JWT

After login, your session cookie holds the JWT. To use it in direct API calls, exchange it:

shell
curl -X POST `https://api.1keycore.com/auth/token` \
  -H "Content-Type: application/json" \
  -d '{"email": "you@company.com", "password": "••••••••"}'

# Response
{
  "access_token": "eyJ...",
  "token_type": "bearer"
}
04

Make your first request

Send a POST to /chat with your JWT and the model you want to use. The gateway routes it to the right provider automatically.

shell
curl -X POST `https://api.1keycore.com/chat` \
  -H "Authorization: Bearer <your_jwt>" \
  -H "Content-Type: application/json" \
  -d '{
    "model":   "gpt-4o",
    "message": "Summarise this contract in 3 bullets"
  }'
response · 200 OK
{
  "response":    "1. The contract grants...",
  "model":       "gpt-4o",
  "tokens":      312,
  "latency_ms":  38,
  "cached":      false
}
05

Invite your team

Team member invitations and scoped JWT issuance are coming in the next release. For now, share the workspace credentials with your team — each session gets its own token, tracked separately in usage.

next steps

← Back to docsGo to dashboard →Add another key →