# Konstrukt Documentation > Technical documentation for Konstrukt, a low-code platform for financial planning, forecasting and reporting (FP&A). Covers the platform (data model, calculation engine, Kex query language, apps, security, integration, APIs, MCP server) and Konstrukt's templates and modelling best practice. Each page is available as Markdown under /md/. Auto-generated references are maintained with the product and are linked rather than copied: REST API (/api/documentation/index.html), Kex (/api/documentation/kex) and Kex Lite (/api/documentation/kex-lite) on each tenant host. Agents: read the [Kex quick card](md/kex-card.md) before the first query, and [Agent guide: pitfalls and learnings](md/agent-pitfalls.md) before writing Kex, app configuration or data changes. ## Getting started - [Konstrukt documentation](md/index.md): Technical documentation of the Konstrukt planning platform — its data model, calculation engine, apps, security, integration and APIs — plus a separate best-practice section on the ready-made templates. - [Platform overview](md/overview.md): What the Konstrukt platform is intended for, its main building blocks and how data flows from source systems through models and calculations to apps, reports and integrations. - [Core concepts](md/concepts.md): Definitions of the platform's core objects — tenant, plan, dimension, dimension value, property, value type, reference, history, calculation, Kex, dataset, app, workspace, component, action and access list — and how they relate. - [Architecture](md/architecture.md): How a Konstrukt solution is structured — plans as building blocks, the calculation engine, change history, the interfaces and the hosting model — at a technical, implementation-neutral level. ## Data - [Data model](md/data-model.md): Dimensions, dimension values, properties and bindings, value types with format, precision, limits and sensitivity, internal columns, line states, and how data is loaded and traced across the model. - [References and history](md/references-history.md): How Konstrukt keeps a full change history of value-type data, the two kinds of reference (stored data and point-in-time), how they are queried in Kex and used in apps, and what deleting data does and does not remove. ## Logic - [Calculations](md/calculations.md): How calculations derive data in Konstrukt — guided and script calculations, sources and joins, destination mapping, the working-set and output previews, diagnostics, write modes including suggestions, the dependency graph, run order, status and cycle detection. - [Kex language](md/kex.md): A structured introduction to Kex, Konstrukt's query and scripting language — statements and variables, clause order, implicit resolution, joins, write variants, dimension operators, windowing, Kex Lite — with links to the auto-generated full reference. - [Kex quick card](md/kex-card.md): The rules and examples an agent needs before writing its first Kex query: clause order, plans, filters, aggregation, joins and windows, with checked examples from the base template. - [Kex examples](md/kex-examples.md): Checked Kex read queries ordered by task — totals, filters, top-N, periods, windows, ratios, several value types, plans and references — plus forms that look right but fail. - [Tracing a number](md/traceability.md): A walkthrough of how to trace any number in Konstrukt back to its origin — from a cell in an app to the value type, the calculation that wrote it, its sources, its history and its import — using the platform's lineage and inspection tools. ## Apps - [Apps](md/apps.md): What an app is, how it is structured (datasets, workspaces, components), and where its settings and configuration are edited. - [Datasets](md/datasets.md): How a dataset selects value types and dimensions for an app, and how spreading, initial values, locked values, filters, expressions and row-level access shape that data. - [Workspaces and components](md/components.md): How workspaces organise filters, data types and layout, and how tables, text, metrics, charts and presentation rules are configured. - [Actions](md/actions.md): How action components collect input from users and run a Kex write script, including the generator templates, variable types and script conventions. - [Using apps](md/end-user.md): What end users see and can do in an app: filters and URLs, personal settings (language, text size, theme), component and cell menus, cell inspection, read-only cells, comments and editing. - [App configuration (XML/JSON)](md/app-config.md): Reference for the configuration behind an app: the XML structure and schema version, what saving preserves, the JSON representation and schema exposed through MCP, and an element reference. ## Operate - [Security and access](md/security.md): How Konstrukt controls who can see and change what — users, roles and groups, access lists, app and dataset access, sensitive value types, single sign-on and machine credentials. - [Hosting and operations](md/operations.md): Where and how Konstrukt is hosted and operated — Swedish hosting and sub-processors, tenant isolation, encryption, backup and restore, availability, release tracks and how releases are announced. - [Data integration](md/integration.md): How data gets into Konstrukt — import configurations, the three transports that share one configuration key (KDI, REST, storage/SFTP), file formats, the GUI import wizard, import semantics, jobs and the integration platform. - [APIs and SQL access](md/apis.md): Programmatic access to a Konstrukt tenant — the REST API and its OAuth client-credentials authentication, the Kex query endpoint, and the external SQL views with point-in-time queries. - [AI agents and MCP](md/ai-agents.md): How AI agents work with a Konstrukt tenant — the embedded MCP server, its knowledge resources and tenant documents, the full tool catalogue, safe working rules, the in-product assistant Kai, and the agent-readable sources of this documentation. - [Tenant administration](md/administration.md): Administering a Konstrukt tenant — navigation, plan lifecycle and the default plan, the plan admin landing, plan documentation, System settings (features, themes, maintenance, console, Kai, advanced) and the help menu. ## Reference - [Reference documentation](md/reference-docs.md): Links to the reference documentation that Konstrukt generates from the product and keeps up to date automatically — the REST API, the Kex language and Kex Lite — and how it relates to this site and to the MCP resources. - [Glossary](md/glossary.md): English terms used in this documentation with their labels in the English and Swedish Konstrukt interface, and short definitions. ## Best practice - [Agent guide: pitfalls and learnings](md/agent-pitfalls.md): Best practice for AI agents working in a Konstrukt tenant — working rules, and known pitfalls in Kex, writes, the data model, calculations, app configuration, actions and history, with links back to the platform pages they concern. ## Optional - [Full text](llms-full.txt): every page concatenated as Markdown