Admin SDK Quickstart
Overview
The Admin SDK lets you manage organizations, projects, members, roles, and API keys programmatically. It is available for both Python and TypeScript through the confidentai SDK.
This quickstart shows how to install the SDK, configure an Organization API Key, create a client, and list projects in your organization.
Vibe Code Your Administration
Let your coding agent run your account administration for you — creating projects, inviting members, composing roles from policies and permissions, and provisioning API keys. Describe what you want in plain English and the agent writes and runs the correct Admin SDK calls. For the full walkthrough, see the Vibe Code Your Administration guide — or choose the install method for your agent below to get started right away.
Claude Code (plugin)
Cursor, Codex, Windsurf & others (Skills CLI)
Run these four commands in Claude Code:
The /plugins command should list confident-client under your installed plugins.
Once installed, open your project and tell your agent what you need. Example prompts:
- “Create a Confident AI project called ‘Customer Support Bot’ and make alice@example.com the owner.”
- “Invite alice@example.com and bob@example.com to my organization as analysts.”
- “Create an ‘Analyst’ role with read-only access and assign it to bob@example.com.”
Your agent will confirm the SDK language, run the calls in the right order (permissions → policies → roles), and hand back the IDs and one-time API keys it creates.
Get Started
Set your Organization API Key
The ConfidentAI client requires an Organization API Key, which is separate from the project keys used for tracing and evaluations. Retrieve yours before configuring the client.
The client reads the CONFIDENT_ORG_API_KEY environment variable by default. This is separate from the CONFIDENT_API_KEY used for tracing and evaluations, so you can configure both at once.
Next Steps
Review the resource references for common management operations: