> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/technical-guides/project-zero/next.js/basic-setup.md).

# Basic Setup

The setup process for a Headless ACC Storefront will be guided in this page. Follow the steps below to get started.

## <mark style="color:red;">Installation​</mark> <a href="#installation" id="installation"></a>

1. To begin, it is recommended to use `yarn` as the package manager.

   If macOS is the operating system, Homebrew can be used for installation. For non-mac users, npm can be used for a global installation.

   ```
   # For macOS users
   brew install yarn

   # For non-mac users
   npm i -g yarn
   ```
2. Next, the storefront needs to be installed by using the `projectzero` CLI.

   ```
   npx @akinon/projectzero@latest --create
   ```
3. Provide the following information:
   * **Brand name (eg. Project Zero) (required):** Enter the name for your project.
   * **Project description (optional):** Optionally provide a project description.
   * **Commerce URL (optional):** Enter the URL to connect with Omnitron. This can be edited later from the environment file.
4. After providing the necessary information, navigate to the project folder.

   ```
   cd project-path/project-name
   ```

## <mark style="color:red;">Development</mark>​ <a href="#development" id="development"></a>

To start the development server, run the following command.

```
yarn dev
```

This will initiate the development environment for the Headless ACC Storefront, allowing users to begin building and testing their storefront.

## <mark style="color:red;">Production</mark>​ <a href="#production" id="production"></a>

To build and run the production version of the storefront, run the following command.

```
yarn build
yarn start
```


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.akinon.com/technical-guides/project-zero/next.js/basic-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
