Skip to content

Guides

Guides show you how to complete a specific task. Read the relevant Concepts page first, then follow the recipe here.

A guide is short and runnable. It links to Concepts for background and Reference for parameter lists. Build guides usually follow Prerequisites → The code → What the framework does → Common gotchas → Live example → See also. Deployment pages use their own structure because they describe an environment rather than one code change.

GuideWhen you reach for it
Add an entity to a featureA second entity in a feature you already have.
Write a custom write handlerDefault CRUD does not fit and you need business rules on save.
Handler context and embedded fieldsKeep handler transactions explicit or model repeated structure as an embedded list.
React to another feature’s eventsFeature A reacts when feature B writes, without importing feature B’s internals.
Build a read model across multiple aggregatesAggregate events from several entities belong in one view.
Seed default data for new tenantsA new tenant should receive initial workspace data.
Apply one-shot data migrations via the event storeExisting aggregate state needs a tracked, event-store-backed correction.
Add a WebSocket endpointClient and server exchange messages in both directions, for example streamed audio and live transcripts.
The test standardSet up tests the way the framework and kumiko new app do.
When a test goes redA test is red or flaky and you need the cause, not a longer timeout.
GuideWhen you reach for it
UI widgetsPick a card, table, chart, or form widget instead of hand-rolling one.
Multi-step wizards and embedded formsA form is too long for one page or belongs inside a Drawer.
Dialog and Lightbox overlaysConfirm an action or show an image at full size.
Editable content collectionsEditors need to manage tenant or user content through a generated editor.
Build a marketing landing pageCompose an Apex page from your features.
Mount read-only inspector screensInspect data from a bundled feature without building a separate admin UI.
Metrics and dashboard dataShow counts and trends from your tables on the admin overview or your own dashboard.
Tables: what users can doLet users pick columns, pin and group them, select rows for bulk actions, export to Excel and keep their filters.
Design mail and PDF templatesAdmins change mail and PDF templates in the browser; you declare placeholders and defaults.
GuideWhen you reach for it
Restrict a field to specific rolesA field is visible to or writable by only selected roles.
Expose a public, anonymous-readable endpointA public status page, marketing endpoint, or hosted report needs anonymous reads.
Public share surfaceShare one read-only record through a revocable token link.
Call the API headlessly with a Personal Access TokenCI, a script, or a customer integration needs a scoped bearer token.
Add TOTP-based 2FA to loginUsers should enroll an authenticator app as a second login factor.
Production security baselineTurn the security concepts into a staged launch gate with evidence and stop conditions.
Load encryption keys from a key managerA production app should resolve its KEK and blind-index key at boot.
Rotate encryption keysA KEK or blind-index key must be replaced.
Make your app agent-readyAn in-app AI agent should act on records under explicit handler rules.
Production AI governancePrepare provider keys, data boundaries, approvals, provenance, caps, and failure handling before launch.
Enterprise AIChoose an assistant, document extraction, triage, feature-builder, or policy-driven AI workflow.
GuideWhen you reach for it
RequirementsCheck local tools and ports before starting development.
Upgrade Kumiko dependenciesMove an app to a newer framework release.
Expand/Contract for managed-projection changesA destructive change to a managed table should span two releases instead of one.
Deploy: Solo (single VM)Run one app, Postgres, and Redis on one VM.
Deploy: DockerBuild the production image and apply its schema.
Deploy: K3s (production scale)Deploy a server app to the Pulumi-managed cluster.
Assign a tier to a tenant manuallyGrant a tier without a billing purchase.
Make your apex/content pages SEO/AEO/GEO discoverableConfigure mounted SEO features for search and answer engines.
Provenance and cost control for AI pipeline stepsInspect what an AI pipeline step ran and control its provider cost.
  • Recipes, runnable end-to-end examples.
  • Concepts, the mental model behind the guides.
  • Platform, deployment topologies and operational pages.