docs.kronotrop.coffee / /get-started/hello
tutorial

Hello, Kronotrop

A working walkthrough of the Kronotrop SDK. Copy a snippet, run it, and watch a real webhook roundtrip in under 60 seconds.

Setup

Install the SDK, set your KRONOTROP_API_KEY, and run the hello example. The SDK ships a first-class TypeScript definition and matches Stripe's idempotency semantics so you can safely retry any call.

TypeScript
// hello.ts
import { Kronotrop } from "@kronotrop/sdk";

const k = new Kronotrop({ apiKey: process.env.KRONOTROP_API_KEY ! });
const charge = await k.payments.create({
  amount: 1299,
  currency: "USD",
  idempotencyKey: crypto.randomUUID(),
});
console.log(charge.id);
Ask AI

Have a question about this page? Ask-AI (RAG-grounded via MCP client) will answer in < 400 ms with source citations.

Documentation StudioAI Technical Documentation Generation

BeforeTomorrow Documentation Studio generates technical documentation, API references, user guides, and developer docs. AI agents handle information architecture, code examples, and progressive disclosure patterns.

How does BeforeTomorrow Documentation Studio work?

Documentation Studiouses BeforeTomorrow's domain engineering approach: rather than a generic AI prompt, it deploys specialized agents trained in the business communication and strategy domain. When you submit a brief, Claude Opus 4.6 handles creative judgment while Sonnet 4.6 manages intelligence extraction — together producing professional output tailored to your specific requirements and industry context.

Unlike generic document generators, every Documentation Studio output is uniquely generated from scratch — adapting to your industry (across 140+ supported industries), audience, and specific goals. No two outputs are identical because the AI composes each piece individually rather than filling a template.

Documentation Studio at a glance

  • Category: Business & Professional
  • AI: Claude Opus 4.6 + Sonnet 4.6
  • Platform: 48 studios total on BeforeTomorrow
  • Industries: 140+ with domain-specific knowledge
  • Pricing: Pay-per-generation from $3
  • Output: Unique per generation (no templates)
  • Data: EU residency (AWS Bedrock)
  • Rights: Full commercial usage included
  • Related: Tutorial Studio, Knowledge Base Studio, Runbook Studio, Schema Studio
  • Subscription: Not required

Frequently asked questions about Documentation Studio

What documentation types?

API references, user guides, developer docs, technical specifications, SDK documentation, and architecture decision records with proper information hierarchy.

Does it generate code examples?

Yes. Language-appropriate code examples, request/response samples, and quickstart guides with working code snippets.

Last updated: June 2026