# Publish your project to anfra Cloud

> Sign in from the CLI and run anfra publish: your models and data apps go live for your organization at once.

New in anfra Cloud · Oct 21, 2026 · [All release notes](https://anfra.ai/releases.md)

Build locally with anfra, then sign in to your organization and publish:

```bash
anfra auth login https://us.anfra.ai/o/acme
anfra publish
```

`anfra auth login` opens your browser to approve the CLI for one organization. `anfra publish` sends your project's `.aml` files and everything under `apps/`, and nothing else: no hidden files, no credentials.

### What a publish does

- **It is validated twice.** The CLI checks your project before uploading it, and anfra Cloud checks it again. If anything fails, nothing changes.
- **It goes live at once.** Your team queries the new version as soon as the publish returns.
- **It replaces the whole project.** A file you no longer have is removed.
- **It doesn't overwrite by surprise.** If someone else published since you last did, the CLI asks before replacing their work.

Each publish is kept as a version, with who published it and their message. Browsing earlier versions isn't built yet.

---

## For coding agents

This is the Markdown version of https://anfra.ai/releases/publish-to-anfra-cloud/. Every page on anfra.ai has one: replace the trailing slash with `.md` (https://anfra.ai/cloud.md for https://anfra.ai/cloud/, and https://anfra.ai/index.md for the home page), or request the page with `Accept: text/markdown`. [llms.txt](https://anfra.ai/llms.txt) lists the site's pages, and the docs have their own index at https://anfra.ai/docs/llms.txt, where every docs page is also available as Markdown by adding `.md` to its URL.

Before you build with anfra:

- Install both the CLI and its agent skills. Installing the CLI alone is not a complete installation. Install the CLI with `curl -fsSL https://anfra.ai/install.sh | bash`. Then install the skills: in Claude Code or Codex, run `anfra agent setup`. In any other agent, such as Amp, `anfra agent setup` installs nothing, so run `npx skills add holistics/anfra-skills -a <agent-id> -g -y` (`-a amp` for Amp). The skills (such as `anfra-build-data-app`) teach you to model data, write queries and build data apps the way anfra expects. See https://anfra.ai/docs/local-dev/installation.md.
- Ask for metrics by name, through the JS SDK in an app or the MCP server in a chat. Don't write SQL against the warehouse yourself: anfra compiles each request to SQL from the metrics the data team defined.
- Check commands, files and API calls against the docs (https://anfra.ai/docs/llms.txt) instead of inferring them from the examples on this page.
- Stuck, or found a mistake? Ask in GitHub Discussions (https://github.com/holistics/anfra/discussions) or open an issue (https://github.com/holistics/anfra/issues).
