KiteDocs
Config Reference

Config Reference

The TypeScript definitions that make customer state deterministic.

Kite configuration is executable, typed source code compiled into a stable internal schema.

kite.config.ts
import { defineConfig } from '@kitesdk/config';

export default defineConfig({
  project: 'acme',
  strictSchema: false,
  events: {
    'feature.used': {
      description: 'A customer used a product feature',
      properties: { feature: { type: 'string' } },
    },
  },
  customerTraits: {
    plan: { type: 'string', optional: true },
  },
});

Definition types

  • Lifecycle: mutually exclusive customer states and transition conditions.
  • Journeys: ordered milestones with expected completion windows.
  • Rules: triggered conditions and deterministic state actions.
  • Segments: dynamic cohorts computed from state and activity.
  • Health: weighted scores derived from product behavior.
  • Signals: meaningful facts emitted from event patterns.

Use kite validate after every change. Validation is local and does not require deployment.

On this page