> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/sts/user/edge/stacks/add.md).

# Add a new Edge Stack

From the menu select **Edge Stacks** then click **Add stack**.

<figure><img src="/files/ZLLgorsWPuYSb6lYtsNT" alt=""><figcaption></figcaption></figure>

Give the stack a descriptive name then select one or more [Edge Groups](/sts/user/edge/groups.md).

<figure><img src="/files/2Wgao8x462F4SKbCj2xv" alt=""><figcaption></figcaption></figure>

In **Deployment type**, select the type of deployment you are performing.

{% hint style="info" %}
This may be auto-selected based on the environments in your choice of [Edge Groups](/sts/user/edge/groups.md).
{% endhint %}

<figure><img src="/files/k2aiETT5nncG7Dl58lQR" alt=""><figcaption></figcaption></figure>

Next, define how to deploy your app from one of the **Build Method** options. These options will differ based on your selected development type.

{% content-ref url="/pages/cPOyAk14OfZT5goD7Lsk" %}
[Compose deployment](/sts/user/edge/stacks/add/compose-deployment.md)
{% endcontent-ref %}

{% content-ref url="/pages/tMeGcmM3YmR9qilehWOl" %}
[Kubernetes deployment](/sts/user/edge/stacks/add/kubernetes-deployment.md)
{% endcontent-ref %}

{% content-ref url="/pages/D1R8PSAlN5kjNokb4wtu" %}
[Helm chart deployment](/sts/user/edge/stacks/add/helm-chart-deployment.md)
{% endcontent-ref %}
