# Deploy an Astro site

Deploy the Astro project you already built without spending time choosing an adapter or restructuring it for the platform. Tokay detects whether the project produces static files or needs a running Node server, then deploys the right shape.

## The output mode follows the project

You do not need to make a separate hosting decision before deployment. [Push the repo, connect GitHub, or paste the files](/getting-started), and Tokay reads the Astro configuration and source to determine how the site should run.

A static build is served as static files. Server rendered pages and API endpoints run as a normal Node process with an HTTPS URL. Custom domains work with either form.

## The backend can grow beside the site

Tokay keeps new application work in the same Project, so adding a database, scheduled job, or background worker does not force another platform decision. Each Service shares the Project's databases and secrets on the same dedicated virtual machine.

When the code expects a supported database, Tokay creates it and supplies the connection through the environment variable the app already reads.

## Your AI agent can deploy either form

A coding agent like Claude Code or Codex can submit an Astro project without deciding whether it is static or server rendered. Tokay detects the output from the source, prepares the matching Service, and exposes the rest of setup, deployment, and verification through the GraphQL API.

Point your agent to [app.tokay.io/llms.txt](https://app.tokay.io/llms.txt) for the deployment protocol.

Tokay has a very generous free tier with no credit card. [Get started](/getting-started).
