# Your first project

> From a folder or a GitHub repo to a live address on 00b5e2.dev in about a minute. Every step works the same from the console, the CLI or an agent.

## Install and login

```sh
$ curl -fsSL https://00b5e2.com/install.sh | bash
$ 00b5e2 login
opening login.00b5e2.com in your browser
■ logged in as aaangelmartin (aaangelmartin)
```

Login asks for your passkey or code, like the console. The session stays in your keychain.

## Create the project

Run init inside your repo. The CLI looks at what's there and proposes the services.

```sh
$ cd my-site
$ 00b5e2 init
detected site (astro) and api (node)
■ project my-site created in aaangelmartin
```

Each service gets its own address under the project: the site at my-site.00b5e2.dev, the API at api.my-site.00b5e2.dev. A database you add later stays closed, reachable only by name.

## Deploy

```sh
$ 00b5e2 deploy
building 3f9c2a1 ......... 38s
▪ web  https://my-site.00b5e2.dev
▪ api  https://api.my-site.00b5e2.dev
```

> Deploys go to development by default. Production on my-site.00b5e2.app and api.my-site.00b5e2.app is always an explicit step, and an agent needs a token that allows it.

## Connect GitHub

Install the GitHub App 00b5e2 on the repo. From then on every push to main deploys to development, and every pull request gets its own preview.

```sh
$ 00b5e2 git connect noa/my-site
■ pushes to main deploy my-site to development
```

## From an agent

Every command has a JSON mode. Through the MCP server the same steps are tools:

```sh
$ 00b5e2 deploy --json
{ "id": "dpl_8f2k", "env": "development", "status": "live",
  "services": { "web": "https://my-site.00b5e2.dev",
                "api": "https://api.my-site.00b5e2.dev" } }
```

| tool | what it does |
| --- | --- |
| `create_project` | Create a project from a repo |
| `deploy` | Deploy a service to development, or production if the token allows it |
| `get_deployment` | Status, build log and address of a deploy |

Previous: [Home](https://docs.00b5e2.com/.md)
Next: [Services](https://docs.00b5e2.com/services.md)
