> 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dbi-services.gitbook.io/yak-user-doc/yak-step-by-step-usage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
