CleverCase

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

RequirementMinimum
Node.jsv24+
macOS13+ (Apple Silicon or Intel)
GitHub accessrakontevr-ai/clevercase-v2
TailscaleInstalled 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 whoami

You 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

On this page