---
url: https://kit.kambium.net/docs/create-app.md
description: >-
  Create an app with Kambium Kit, prepare local prerequisites and find your
  application files.
---

# Create an app

Generate a backend and dashboard with email sign-in, an Example Slack bot and
an Airtable → Slack engine.

## Before you start

If you need npm access to `@kambium` packages,
[request access](https://kit.kambium.net/#request-access) first.

## Generate the application

<span id="_1-create-your-app"></span>
<span id="1-create-your-app"></span>

```sh
npm install --global @kambium/cli
kambium create my-app
```

Follow the prompts to install packages and open Kambium Desktop. Install
Supabase CLI and Redis if prompted. [Run locally](https://kit.kambium.net/docs/local-development.md)

## Your project

The generated source belongs to your app. The main files are:

```text
my-app/
|-- index.ts               # Server setup and engine registration
|-- engines/
|   |-- runtime.ts         # Shared engine kinds and connections
|   |-- example.ts         # Example Slack bot
|   |-- airtable-slack.ts  # Airtable record updates to Slack
|   `-- example/
|       `-- Page.vue       # Integration dashboard page
`-- dashboard/
    |-- engines.ts         # Engine pages and creation catalog
    |-- config.ts          # Product name and tagline
    |-- App.vue            # App shell
    |-- router.ts          # Routes
    |-- style.scss         # App styles
    `-- variables.scss     # Style tokens
```

Backend and dashboard registration are separate: adding an engine in `index.ts`
does not add it to the dashboard's creation menu. Follow
[Create your first engine](https://kit.kambium.net/docs/first-engine.md) for backend behavior and
[Dashboard integration](https://kit.kambium.net/docs/dashboard.md) for its page.

::: details Tests, development data and build files

```text
my-app/
|-- tests/e2e/
|   `-- app.spec.ts         # Browser tests with a disposable stack
|-- tests/server-integration/
|   `-- health.test.ts      # Vitest example with Fastify request injection
|-- engines/example/
|   `-- scenario.ts         # Setup shared by seeds and browser tests
|-- local-check.ts          # npm run local:check: verify a task result
|-- local-seed.ts           # npm run local:seed: prepare dev data
|-- build.mjs               # Backend bundle: dist/index.js
|-- Dockerfile              # Backend container
|-- Dockerfile.go-ingress   # Fly container with Go in front of Fastify
|-- ingress/                # Go gateway and process supervisor
|-- fly.toml                # Fly.io deployment
`-- .agents/skills/
    |-- kambium/SKILL.md    # Pointer to installed development guidance
    `-- kambium-kit-upgrade/SKILL.md  # App-owned upgrade instructions
```

To run or extend the examples, see [Integration tests](https://kit.kambium.net/docs/integration-tests.md),
[E2E tests](https://kit.kambium.net/docs/e2e-tests.md) and [Development seeding](https://kit.kambium.net/docs/local-runtime.md#development-seeding).
Use `kambium create my-app --no-go-ingress` to generate a direct Fastify
deployment.

:::

::: details Folders created when you run or build the app

`supabase/migrations/` and `supabase/kambium-schema.json` appear during schema
preparation, rather than initial app generation. Commit them together.

`.local/` holds private local settings, data and encryption keys. `dist/` holds
the backend bundle and the separate dashboard build in `dist/dashboard/`.
Both folders are ignored by Git. See [Local runtime](https://kit.kambium.net/docs/local-runtime.md)
for retained data and service ownership.

:::
