Quick start
Choose how to run anfra, then build your first data app with the CLI, or use your team's apps on anfra BI Cloud
You build anfra projects on your machine, with the CLI and a coding agent. To share them with your team, run anfra Core, the open-source engine, on your own server, or publish to anfra BI Cloud, the hosted anfra BI.
Choose how to run anfra
| Self-hosted anfra Core | anfra BI Cloud | |
|---|---|---|
| Who runs it | You, on your host. See Self-host anfra Core. | anfra, at us.anfra.ai. See Hosting. |
| How people sign in | A built-in login page (usernames and passwords, or Google and GitHub accounts), or your own proxy. See Authentication. | Google, GitHub or an email code. People join an organization by invitation. See Users & auth. |
| What each person can do | The same for everyone who gets in: the same apps, queried with one database user. Anyone can run SQL on the connections. | One role per member: Explorer, Analyst or Admin. Only Admins can run SQL on a connection. See Permissions. |
| MCP for your team | One server address for every agent. Agents send a password or your proxy's credential, with no permissions per person. See MCP on anfra Core. | Each person connects with OAuth, and their client acts with their role. See MCP on anfra BI Cloud. |
| Warehouse credentials | In your host's settings, in ANFRA_DATA_SOURCES | Kept by the organization as connections. Only Admins see or change them. |
| Best for | A quick, free way to share apps with your team and agents, full control over where anfra runs, or a database only your network can reach | Teams that want sign-in, roles and per-person MCP access without running a server |
Start with the CLI or anfra BI Cloud
Build your first data app on your machine. You need macOS, Linux, or Windows with WSL2 (see Install the CLI), a warehouse to connect to, and a coding agent such as Claude Code or Codex. To run with Docker instead of installing, see Try anfra without installing.
Install anfra: the CLI and the agent skills
Installing anfra takes two steps, and you need both. First install the CLI:
curl -fsSL https://anfra.ai/install.sh | bashThe installer puts anfra in ~/.anfra/bin and adds it to your PATH. Open a new terminal, then install the skills that teach your coding agent to build with anfra. For Claude Code and Codex:
anfra agent setupFor Amp, and any agent other than Claude Code and Codex, anfra agent setup installs nothing. Install the skills with npx skills add holistics/anfra-skills -a <agent-id> -g -y, such as -a amp. See Install the CLI for installer options, other agents and how to check both parts.
Create a project and connect a warehouse
anfra init my-project
cd my-projectReplace the placeholders in .anfra/data_sources.yml with your warehouse credentials. That file holds your project's connections. See Connect your data for Snowflake, BigQuery, ClickHouse and the others.
Set up with a coding agent
Or let your coding agent do this step: open an empty folder in it and paste this prompt.
Use the anfra-setup-repo skill to set up anfra and connect my warehouse.Ask your agent for an app
Example prompt
Open the project in your coding agent and paste this prompt.
Use the anfra-build-data-app skill. Look at my orders data and build a revenue overview: monthly trend and revenue by region. Clicking a region should filter the trend.With no models yet, the agent defines the datasets and metrics it needs as code in models/ and datasets/, then builds the app in apps/. See Model your data and Project structure.
Run the server
anfra serveOpen http://127.0.0.1:7878/ to see your apps. An app saved as apps/revenue.html opens at /apps/revenue and reloads as you or the agent edit it.
Share it
When your team needs the app, publish the project to anfra BI, or self-host anfra Core.
Use the apps your team published to anfra BI Cloud, and ask questions of the same data from Claude. You need an invitation to your team's organization. You don't build anything here: apps are built with the CLI and published.
Setting up the organization for your team? Start with the Admin checklist.
Join your organization
Open the invitation email, or the link an Admin sent you, and sign in with Google, GitHub or an email code. Use the email address the invitation was sent to. If you have no account yet, you create one as you accept.
Open a shared app
Your organization's Home, at an address such as https://us.anfra.ai/o/acme, lists its data apps. Click one to open it. Each app has its own address, which you can send to any other member. See Open & share apps.
Connect Claude
Add the MCP server on anfra BI Cloud, https://us.anfra.ai/mcp, to your AI client, then sign in and pick your organization when it opens your browser:
- Claude.ai or Claude Desktop: Settings → Connectors → Add custom connector.
- Claude Code:
claude mcp add --transport http anfra https://us.anfra.ai/mcp
When you approve the connection, pick your organization. Claude then acts as you, with your role.
Ask a question
Ask Claude about your data.
Example prompt
What was revenue by region last month?It answers from your organization's datasets and metrics, the same ones the apps use. To turn answers into reports, see AI artifacts.