Getting Started
Install the CleverCase SDK, configure your gateway token, and verify your setup in under 10 minutes.
Getting Started
This guide gets you from zero to a working CleverCase development environment. By the end, you'll have the SDK installed, your gateway token configured, and Gladys responding to queries.
Prerequisites
| Requirement | Minimum |
|---|---|
| Node.js | v24+ |
| macOS | 13+ (Apple Silicon or Intel) |
| GitHub access | rakontevr-ai/clevercase-v2 |
| Tailscale | Installed and joined to team network |
Quick setup (5 minutes)
# 1. Install the SDK
npm install @clevercase/sdk
# 2. Configure your gateway token
export RAKONTEVR_SERVICE_KEY="<your-service-pat>"
export RAKONTEVR_GATEWAY_URL="https://gateway.rakontevr.ai/v1"
# 3. Verify connectivity
npx clevercase whoamiYou should see your tenant context:
{
"tenantId": "00000000-0000-4000-a000-000000000003",
"slug": "clevercase",
"email": "you@clevercase.com",
"gateway": "https://gateway.rakontevr.ai/v1"
}First API call
import { CleverCaseClient } from "@clevercase/sdk";
const client = new CleverCaseClient({
baseUrl: process.env.RAKONTEVR_GATEWAY_URL,
tenantId: process.env.RAKONTEVR_TENANT_ID,
});
const health = await client.health();
console.log("Gateway status:", health.status);Full team setup
For a complete development environment (repo clone, Tailscale, secrets, local services), see the Developer Onboarding guide.
What's next
- Developer Onboarding — Full team setup with Tailscale, secrets, and Cursor IDE
- CleverCase CLI — Daily commands and workflows
- System Architecture — How all the pieces fit together
- Rakontevr SDK — SDK modules, gateway wiring, Gladys integration