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

> ## Agent Instructions
> Unkey is two separate products. Compute builds, deploys, and runs apps behind a gateway. API Management issues API keys, enforces rate limits, manages identities and permissions, and reports usage. Say which product a page belongs to; a reader can use either without the other.
> Every Unkey API endpoint is an HTTP POST to https://api.unkey.com/v2/{service}.{procedure} with a root key in the Authorization: Bearer header. Root keys are workspace scoped.
> Error codes have the form err:{system}:{category}:{specific} and each has a page at /errors/{system}/{category}/{specific}.
> The word environment means production or preview in Compute. Rate limiting has four meanings on this site; the glossary lists them.

# Compute

> Build, deploy, and run your app on Unkey, with or without API Management.

Compute deploys an app from a GitHub repository on every push by default, or from a container image you built yourself. Connect the repository, pick the branch, and each push becomes a deployment (One built and running version of an app in one environment.) you can follow in the dashboard until it's `ready`.

You get a production and a preview environment (A production or preview environment of a Compute app, not the dashboard label on a key.), automatic domains, promote and rollback, and a gateway in front of every deployment. The app (A Compute app: a deployable service inside a project. Not 'your application' in general.) is the service inside a project (A group of apps, usually one per codebase or product.).

## Get started

> [card] [Deploy from GitHub](https://www.unkey.com/docs/compute/get-started/deploy-from-github.md)
>
> Connect a repository and let every push deploy.

> [card] [Deploy a container image](https://www.unkey.com/docs/compute/get-started/deploy-an-image.md)
>
> Ship an image you built yourself, from the dashboard or the CLI.

> [card] [Compute plans](https://www.unkey.com/docs/compute/get-started/plans.md)
>
> What you need before you can deploy, and what each plan allows.

## Concepts

> [card] [Projects, apps, and environments](https://www.unkey.com/docs/compute/concepts/projects-apps-environments.md)
>
> How projects, apps, and environments nest.

> [card] [Deployments](https://www.unkey.com/docs/compute/concepts/deployments.md)
>
> The thirteen lifecycle statuses, the build queue, and why a deployment fails.

> [card] [Production and preview](https://www.unkey.com/docs/compute/concepts/production-and-preview.md)
>
> Promote, roll back, stop, wake, and what happens on a timer.

> [card] [Instances and autoscaling](https://www.unkey.com/docs/compute/concepts/instances-and-autoscaling.md)
>
> Replicas, resource limits, health probes, and the autoscaler.

> [card] [Regions](https://www.unkey.com/docs/compute/concepts/regions.md)
>
> How regions are chosen, capped, and used for readiness and failover.

## Build

> [card] [Builds](https://www.unkey.com/docs/compute/build/overview.md)
>
> Automatic builds or your Dockerfile, the build queue, caching, failures.

> [card] [Dockerfile builds](https://www.unkey.com/docs/compute/build/dockerfile.md)
>
> Build context, the runtime contract, and the errors Unkey explains.

> [card] [Build-time secrets](https://www.unkey.com/docs/compute/build/build-secrets.md)
>
> Use environment variables during the build without baking them in.

> [card] [GitHub integration](https://www.unkey.com/docs/compute/build/github.md)
>
> Install, connect, branch mapping, fork approval, and what Unkey writes back.

## Configure

> [card] [Build settings](https://www.unkey.com/docs/compute/configure/build-settings.md)
>
> Dockerfile, root directory, build command, watch paths, auto deploy.

> [card] [Runtime settings](https://www.unkey.com/docs/compute/configure/runtime-settings.md)
>
> Port, CPU, memory, disk, command, protocol, regions, replicas.

> [card] [Health checks](https://www.unkey.com/docs/compute/configure/health-checks.md)
>
> The probe that gates traffic and restarts unhealthy instances.

> [card] [Environment variables](https://www.unkey.com/docs/compute/configure/environment-variables.md)
>
> Kinds, limits, import, and the variables Unkey injects.

> [card] [Compute limits](https://www.unkey.com/docs/compute/configure/limits.md)
>
> Per-instance and workspace ceilings, per plan.

> [card] [Spend budget](https://www.unkey.com/docs/compute/configure/spend-budget.md)
>
> Alerts and an optional stop on monthly usage spend.

## [Every SDK covers Compute too](https://www.unkey.com/docs/api-management/sdks/overview.md)

**API Management docs.** The official SDKs wrap the whole Unkey API, so projects, apps, environments, deployments, domains, gateway policies, and the GitHub install flow are reachable from the same client you use for keys.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.