{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "wiziscool-oh-my-cpa--route-clients-through-one-gateway",
 "repo": "WizisCool/oh-my-cpa",
 "repo_url": "https://github.com/WizisCool/oh-my-cpa",
 "repo_slug": "wiziscool-oh-my-cpa",
 "title": "Add providers and client keys behind one gateway",
 "page_title": "How to add providers and client keys behind one gateway with Oh My Cpa",
 "summary": "Configure AI providers and named client keys once, then point every client at CPA.",
 "who": "A developer who wants several apps or teammates to use the same set of AI providers through one endpoint.",
 "problem": "Each provider has its own credentials, models and limits, and sharing them safely across clients is error-prone.",
 "outcome": "Providers are enabled in the console, each client has its own named key, and clients send requests to CPA at http://127.0.0.1:8317.",
 "steps": [
  "Complete the install from the Compose guide and sign in at `http://127.0.0.1:8080/omc/` with the `CPA_MANAGEMENT_KEY` value from `.env`.",
  "Add an AI provider in the console and set its priority and enable switch.",
  "Create a client key in the console and give it a name so it appears in request records.",
  "Point each client at `http://127.0.0.1:8317` and send a test request from the Playground."
 ],
 "agent_prompt": "In the Oh My CPA console at http://127.0.0.1:8080/omc/, add one <provider-name> provider and one client key named <client-name>. Report the provider's status and the key name. Verify with a Playground request that the routed model answers before you finish.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README describes clients sending requests to CPA at http://127.0.0.1:8317 for the local Compose install, so other network setups need the reaching CPA guide.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Docker Engine with the Compose plugin and CLIProxyAPI v8.0.0 or later, or a native executable with CPA installed separately",
  "A Linux or macOS shell with curl and openssl for the Docker path",
  "A place to keep the .env file, since OMCPA_MASTER_KEY encrypts the database and cannot be recovered without it"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Client keys and provider credentials grant access to paid model usage, so store them carefully and revoke any key that leaks."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/wiziscool-oh-my-cpa/route-clients-through-one-gateway/",
 "md": "https://dedupedai.com/use-cases/wiziscool-oh-my-cpa/route-clients-through-one-gateway/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/wiziscool-oh-my-cpa--route-clients-through-one-gateway.json",
 "api_version": "v1"
}
