Documentation

Configure Your
Ecosystem

Feed our context rules into Cursor, Copilot, or your favorite LLM. Get up and running with KeyKing's Desktop Proxy and Serverless SDK in minutes.

AI CODING CONTEXT

Rules for your AI Assistants

Download this markdown file and add it to your project root as `.cursorrules` or feed it to your LLM context window. It teaches your AI how to automatically configure KeyKing proxies and the SDK.

WORKFLOW 1

Desktop Proxy

Perfect for local vibe-coding. Run the proxy and configure your environment to route traffic through localhost.

Export Variables
export OPENAI_BASE_URL=http://localhost:8787/v1
export OPENAI_API_KEY=sk-keyking
WORKFLOW 2

Serverless SDK

Install the NPM SDK and use your exported `vault.kk` file in production without needing a server.

NPM Install
npm install keyking-sdk
WORKFLOW 3

Desktop Vault

The control plane where you securely add API keys and export your deployment vaults.

Generate Vault
Export from Keys Tab
Save as vault.kk