> For the complete documentation index, see [llms.txt](https://docs.baas.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.baas.sh/baas-cli/projects.md).

# Projects

Your commands run against an **active project**. List the projects you can access, then pick one.

## List your projects

```bash
baas projects:list
# [baas] Your projects:
#
#   project-test-1
#   project-test-2
#
# 2 project(s) total.
# [baas] Active: project-test-1
```

`projects:list` refreshes your session first, so the list always reflects the latest state: newly granted projects appear and revoked ones disappear without re-logging in.

## Select the active project

```bash
baas use my-project-id   # set the active project
baas use                 # show the active project
```

The active project is saved to your local credentials and is **required before `baas deploy`**. `baas use <project-id>` also refreshes your session to validate the project against your latest access.

{% hint style="info" %}
The active project determines which API and which relayers your deploys use. Switch any time with `baas use <project-id>`. Projects themselves are created in the **BaaS Dashboard** (the CLI doesn't create them).
{% endhint %}

## Next

* [Deploy a contract](/baas-cli/deploy.md) — deploy to your active project through a relayer.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.baas.sh/baas-cli/projects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
