> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/yak-user-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/yak-user-doc/yak-step-by-step-usage.md).

# YaK step-by-step usage

<figure><img src="/files/X0mHhZSVWRpoT4hPXirx" alt=""><figcaption><p><em>YaK step-by-step</em></p></figcaption></figure>

{% stepper %}
{% step %}

#### [Install](/yak-user-doc/installation.md) YaK on your Kubernetes cluster

{% endstep %}

{% step %}

#### Setup your infrastructure

1. [Declare your on-prem or cloud infrastructure](/yak-user-doc/manage-infrastructures/manage-infrastructure.md)
2. [Declare your cloud providers secrets](/yak-user-doc/configuration/manage-secrets.md)
3. Declare your [SSH secrets](/yak-user-doc/configuration/manage-secrets.md#ssh-key) (Linux servers) or [WinRM secrets](/yak-user-doc/configuration/manage-secrets.md#winrm) (Windows servers)
4. [Attach your secrets to your infrastructure](/yak-user-doc/manage-infrastructures/attach-secrets.md)
   {% endstep %}

{% step %}

#### Setup your servers

1. [Declare your server(s)](/yak-user-doc/manage-servers/declare.md)
2. [Attach specific secrets to your server(s) (optional)](/yak-user-doc/manage-servers/declare/attach-secrets.md)
3. [Deploy your server(s)](/yak-user-doc/manage-servers/deploy.md)
4. [Start your server](/yak-user-doc/manage-servers/start-stop.md)
   {% endstep %}

{% step %}

#### Setup your components

1. [Get your component type](/yak-user-doc/installation/yak-components.md) from dbi services and upload it into YaK
2. [Declare your artifact provider](/yak-user-doc/configuration/manage-artifact-providers.md)
3. Attach secret(s) to your artifact provider
4. Declare your component(s)
   {% endstep %}

{% step %}

#### Deploy your components

1. Deploy your component(s) on your server(s)
   {% endstep %}

{% step %}

#### Relax and watch the magic happen!

1. [Monitor jobs execution](/yak-user-doc/user-interface/jobs.md)
   {% endstep %}
   {% endstepper %}

{% hint style="info" %}
Because we believe a use-case is worth a thousand words, we've compiled a few for you.\
Take a look at the [use cases section](/yak-user-doc/quickstarts.md) for a guided end-to-end deployment to the cloud!
{% endhint %}
