> 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/portainer-documentation/3.0-sts/user/edge/stacks/add.md).

# Add a new Edge Stack

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

<figure><img src="https://content.gitbook.com/content/NaHIkLFUk78GrFLS4raF/blobs/eC200T0hvxa9NtCJ843z/2.41-edge-stack.gif" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/NaHIkLFUk78GrFLS4raF/blobs/6IdsXYWIadLa2NfqQhnR/2.19-edge-stacks-add-name.png" 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](/portainer-documentation/3.0-sts/user/edge/groups.md).
{% endhint %}

<figure><img src="https://content.gitbook.com/content/NaHIkLFUk78GrFLS4raF/blobs/s82X6Brnfr7XLnwtFKPw/2.41-deployment-type.png" 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](/portainer-documentation/3.0-sts/user/edge/stacks/add/compose-deployment.md)
{% endcontent-ref %}

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

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