# Sites

These instructions apply to the current Admin Console.

{% hint style="info" %}
Contextual Sites run on Contextual Workers, which are in early access and may not be available in your account. [Contact Contextual support](mailto:help@contextual.io) to request that Workers be enabled for your tenant.
{% endhint %}

**Contextual Sites** let you build web applications with managed hosting and optional user authentication. A Site Worker can run your interface and the server-side application logic that supports it. Keep related functionality together, or distribute it across additional Workers when parts of your application need to deploy, scale, or run independently.

## Develop, Authenticate, and Deploy

Build your Site with the framework and language that suit your application. Contextual provides an [Astro starter](https://docs.contextual.io/build/sites/site-source-code-and-runtime.md) with authentication integration and a Dockerfile, or you can deploy an existing or custom application image that meets the [Site image contract](https://docs.contextual.io/build/sites/site-source-code-and-runtime.md#use-another-framework).

Add sign-in with Managed Stytch or your own Stytch project through an [Auth Profile](https://docs.contextual.io/build/sites/manage-auth-profiles.md). Your application controls which routes require sign-in and what each user may access.

Build your application into a container image and [deploy it to a Site Worker](https://docs.contextual.io/build/sites/releases.md). Contextual supplies the hosting and authentication gateway; you manage the application code, image updates, and access to any APIs it calls.

## How Sites Work

A Site holds configuration; a Site Worker runs the application. The Worker's `managed-site-worker` template binds a Site ID to an application image, so you can update code independently of Site and authentication settings.

### Parts of a Site

| Part | Purpose |
| --- | --- |
| **[Site](https://docs.contextual.io/build/sites/manage-sites.md)** | Identifies the application and selects its optional Auth Profile. |
| **Source repository** | Holds application code, build files, and review history. |
| **Application image** | Packages the application and its HTTP server. |
| **[Site Worker](https://docs.contextual.io/build/sites/site-workers.md)** | Runs the image, serves the application, and integrates Site authentication. |
| **[Auth Profile](https://docs.contextual.io/build/sites/manage-auth-profiles.md)** | Configures authentication for Sites that share a user population. |
| **[Site User](https://docs.contextual.io/build/sites/manage-site-users.md)** | Belongs to an Auth Profile and can sign in to Sites that use it. |

Follow the [Quickstart](https://docs.contextual.io/build/sites/quickstart.md) to create an authenticated Site and deploy your first application change.
