Tutorials
Learn to build with AICONSORTIUM
Step-by-step guides covering everything from your first API request to deploying a full on-premise sovereign inference environment with the Federated Mesh.
Tutorials
From first request to production
Step-by-step guides that take you from your first API call to a full on-premise deployment on the federated mesh.
Get access
Early access required
API access to Clark and Sattam.ai is currently available through our early access programme only. To follow the API-based tutorials below, you will need an API key, which is issued as part of the early access onboarding process. Request early access →
Catalogue
All tutorials
Beginner
Getting your first API key
BeginnerWalk through the early access application, onboarding, and the process of generating your first Clark API key from the developer console. Covers key scopes, rate limits, and the sandbox environment available to all early access partners.
Prerequisites: Approved early access account · 10 min
Sending your first request to Clark
BeginnerMake your first authenticated API call to Clark using cURL, then Python, then JavaScript. Covers authentication headers, request body structure, streaming vs. non-streaming responses, and interpreting the response object. Includes handling common error codes.
Prerequisites: API key · 15 min
Intermediate
Working with Clark's multimodal inputs
IntermediateSend images, structured data, and mixed-modality inputs to Clark. Covers base64 image encoding, document passing, and best-practice prompt structures for cross-modal reasoning tasks. Includes worked examples in Python.
Prerequisites: Tutorial 02 · 25 min
Building an agent workflow
IntermediateUse Clark's tool-use capabilities to build a multi-step agent that can search, reason, and produce structured outputs. Covers tool definition, function-calling syntax, result injection, and managing multi-turn agent state. Includes a worked example: a document summarisation and classification pipeline.
Prerequisites: Tutorial 02 · 35 min
Integrating Sattam.ai into legal workflows
IntermediateConnect Sattam.ai's legal intelligence API into a case management or document review workflow. Covers the Sattam.ai-specific endpoints, query structuring for legal research tasks, citation output parsing, and best practices for presenting AI-generated legal analysis to practising lawyers. Sattam.ai beta access required.
Prerequisites: Sattam.ai beta access · Tutorial 02 · 30 min
Advanced
On-premise deployment with the Federated Mesh
AdvancedDeploy a mesh node on your own infrastructure and connect it to a sovereign inference mesh. Covers node hardware requirements, the attestation certificate provisioning process, Mesh CLI setup, node registration, health monitoring, and running your first federated inference request across two nodes. Enterprise deployment agreement required.
Prerequisites: Enterprise deployment agreement · Infrastructure specification met · 3–4 hours
Get started
Request early access to get your API keys
All tutorials requiring API access need an approved early access account. The application takes 5 minutes. We review and respond within 5 business days.