> 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/kubernetes/applications/manifest.md).

# Add a new application using code

There are two ways to add a new application: [manually by using a form](/sts/user/kubernetes/applications/add.md) or automatically by using code. This article explains how to add an application using code.

{% hint style="info" %}
Creating from code isn't just for applications - you can also deploy namespaces, ingresses, ConfigMaps, secrets, volumes and more using code.
{% endhint %}

From the menu, select **Applications** and click **Create from code**. Next, choose whether you want to deploy your application using a **Manifest** or a **Helm chart**.

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

{% content-ref url="/pages/D0nkYXy4Aw1xJ9jmsYxj" %}
[Create an application from a Manifest](/sts/user/kubernetes/applications/manifest/create.md)
{% endcontent-ref %}

{% content-ref url="/pages/kVeR1as9gIc4qcbbhLRD" %}
[Create an application from a Helm chart](/sts/user/kubernetes/applications/manifest/helm.md)
{% endcontent-ref %}
