# Getting started

Source: https://docs.anetos.dev/getting-started/

From nothing to an app with pages, accounts and tests, in the order
you'd do it. About fifteen minutes; the tutorial then builds a whole
app in an hour.

**Installation**

1. [Install Anetos](https://docs.anetos.dev/getting-started/install/index.md): Go and the `anetos` tool.
2. [Set up your editor](https://docs.anetos.dev/getting-started/editor/index.md) for Go and templ.
3. [Choose a database](https://docs.anetos.dev/getting-started/databases/index.md): SQLite to start, PostgreSQL or
   MySQL when you like.
4. [Build with a coding agent](https://docs.anetos.dev/getting-started/coding-agents/index.md) (optional): Claude
   Code, Codex, Cursor, Gemini CLI or GitHub Copilot.

**Your first app**

5. [Create a project](https://docs.anetos.dev/getting-started/create-a-project/index.md) and run it with live reload.
6. [Project structure](https://docs.anetos.dev/getting-started/project-structure/index.md): what each folder holds.
7. [Add pages for a model](https://docs.anetos.dev/getting-started/crud/index.md) with `make:crud`.
8. [Add accounts](https://docs.anetos.dev/getting-started/add-accounts/index.md) with `make:auth`.
9. [Test and build](https://docs.anetos.dev/getting-started/test-and-build/index.md) for production.

**[Tutorial: build an issue tracker](https://docs.anetos.dev/getting-started/tutorial/index.md)**: accounts,
pages by hand, htmx, search, events, a queue and email, step by step.

**An API instead**: a JSON API for a mobile app or a front end
built separately.

1. [Create a project](https://docs.anetos.dev/getting-started/create-a-project/index.md#an-api-instead) with
   `--stack=api`.
2. [Add accounts to an API](https://docs.anetos.dev/guides/api-accounts/index.md): log in with
   tokens.
3. [Add endpoints for a model](https://docs.anetos.dev/getting-started/crud/index.md#in-an-api-project) with
   `make:crud`.
4. **[Tutorial: build an API](https://docs.anetos.dev/getting-started/build-an-api/index.md)**: bookmarks that are
   each user's, tokens for scripts, tests and the API's OpenAPI
   description, in half an hour.

Then the [guides](https://docs.anetos.dev/guides/index.md) take one feature at a time, and the
[concepts](https://docs.anetos.dev/concepts/index.md) explain how Anetos works.
