> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How Akua works

> How Packages, Installs, Products, Offers and Clusters fit together when you deploy and share your app

![Diagram of Akua's core concepts as a chain: a central Package contract card connects to its two wrappers, a Product card and an Offer card, which converge into a single running Installation.](https://docs.akua.dev/images/heros/concepts-light.svg)

You publish your app once as a Package, and Akua runs a separate Install of it for you and for each customer. For example, you publish one booking app and give three clients their own Install, each with its own settings, data and web address. This page explains the few building blocks behind that, so you can predict what happens at each step.

## The flow at a glance

You

Package
versions and an input form

To sell it

Product and Offer
a link you send

Your customer

Their own Install
after they redeem it

To run it yourself

Direct Install
no Product, no Offer

A Package is the versioned install contract, published as immutable versions. Publish an Akua Package privately in your Workspace with `akua pkg publish`, or import a Helm chart from an external OCI repository. Products wrap a Package version for sale; Offers carry the concrete customer path, terms, access rules, and short URL. Direct Installs use a Package version internally. When a customer orders, Akua creates an Install of that version on a Cluster with the customer's inputs.

## The primitives

### Package

The versioned install contract. A Package holds a Helm chart, published privately in your Workspace or imported from an OCI repository, and the versions you publish from it. Each version carries an input schema that describes what customers can configure, read from the chart's values and values schema. See [Packages](https://docs.akua.dev/packages.md).

### Product

A sellable wrapper around a Package: a name, a description and the Package version it offers. Customers reach a Product through an Offer.

Use a Product when you want to sell software. For internal tools, use a direct Install instead.

### Offer

A customer-facing sales path for a Product. An Offer owns the short URL, access rules, pre-filled field values, expiry, and commercial terms for a specific customer or reusable link.

Use an Offer when you want to send a customer directly into the generated install wizard.

### Direct install

An Install that uses a Package version without Product wrapping. No pricing and no Offer. Same Package model, just used internally.

### Install

A specific running Install in a Workspace, on one Cluster, of one Package version. Product-based Installs are created when a customer orders; direct Installs are created from the dashboard or API. See [Installations](https://docs.akua.dev/installs.md).

## New versions do not change existing Installs

Package versions are immutable release units. Publishing a new version does not change any existing Install. Each Install keeps running its version until someone with access to its Workspace [updates it](https://docs.akua.dev/installs/lifecycle#update-an-installation), and each Install has its own state, so a failure on one customer's Install never blocks another.

## What builds on what

| Layer | What it owns | Per-customer? |
| - | - | - |
| **Package** | Chart source, versions, input schema | No (shared) |
| **Product / Direct install** | Selected Package version | No (shared) |
| **Offer** | Customer path, access rules, field values, and commercial terms | No (shared until redeemed) |
| **Install** | A specific running Install on a Cluster | Yes |

Customer A and Customer B can order the same Product and get separate Installs with different inputs. A change for Customer A stays scoped to their Install.

## Where Installs run

Every Install runs on a [Cluster](https://docs.akua.dev/clusters.md): a group of servers that Akua manages as one place
to run apps. You choose one of two kinds:

* **A hosted Cluster.** Akua runs the control plane, and you add servers: your own Linux server,
  joined with a one-time command, or a server Akua runs for you. See
  [Create a cluster](https://docs.akua.dev/clusters/create.md).
* **An attached Cluster.** You already run Kubernetes, and Akua installs onto it through an
  agent with the access you grant. See [Attach your Kubernetes cluster](https://docs.akua.dev/clusters/import.md).

Each Install gets a public HTTPS address on `akua.run` without DNS or certificate setup. See
[App addresses](https://docs.akua.dev/networking.md).

## Product, the word

Akua uses **Product** for the software you share or sell, never for parts of Akua itself. When
the docs say Product, they mean your app wrapped for customers.

## Customization

The dashboard wizard is a form view over the Package version's input schema, generated from the chart's values schema and any [`x-ui` annotations](https://docs.akua.dev/akua/package-format#@ui-annotations) the author added. The same schema drives shareable [Offers](https://docs.akua.dev/marketplace/offers.md) at `/i/<hash>`.

## Related topics

> [card] [Packages](https://docs.akua.dev/packages.md)
>
> Create Packages and publish versions.

> [card] [Products](https://docs.akua.dev/products.md)
>
> The sellable wrapper around a Package version.

> [card] [Offers](https://docs.akua.dev/marketplace/offers.md)
>
> Short customer URLs with selected inputs and terms.

> [card] [Installations](https://docs.akua.dev/installs.md)
>
> Run a Package version on a Cluster.
