> For the complete documentation index, see [llms.txt](https://dev.ucommerce.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ucommerce.net/readme/getting-started/standalone.md).

# Headless Template

## Setup

* Open a terminal where the new project should be set up.
* Execute the commands below:

```sh
# Generate the project
dotnet new uc-headless --name "<ProjectName>"

# Step into the new project folder
cd "ProjectName"

# Up the docker instances for SQL and Elasticsearch
docker compose -f docker/docker-compose.yml up -d

# Run the project
dotnet watch run
```

{% hint style="success" %}
Once your application runs, you can access the administration interface by requesting **/ucommerce**.
{% endhint %}

## Template options

<table><thead><tr><th width="208">Attribute</th><th width="203">Example Value</th><th width="249">Description</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>--name</td><td>"TestProject"</td><td>A name to be used for the scaffolded project.</td><td>false</td></tr><tr><td>--elastic-password</td><td>"mypassword123"</td><td>Replace a default password for the Elasticsearch instance.</td><td>false</td></tr><tr><td>--sql-edge-password</td><td>"mypassword123"</td><td>Replace a default password for the SQL Edge instance.</td><td>false</td></tr><tr><td>--stripe</td><td>true</td><td>Add Stripe payment provider integration.</td><td>false</td></tr><tr><td>-h</td><td>-</td><td>Get a list of all available options. This won't execute the command.</td><td>false</td></tr></tbody></table>

## Related Articles

{% content-ref url="/pages/woVuLixbEGepQtqGIkwi" %}
[Headless](/readme/headless.md)
{% endcontent-ref %}
