> For the complete documentation index, see [llms.txt](https://archivedocs.stackstate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archivedocs.stackstate.com/5.1/latest.md).

# StackState self-hosted v5.1 docs

{% hint style="success" %}
StackState v5.1 is available now!

Check out the [release notes](/5.1/setup/upgrade-stackstate/sts-release-notes.md) to find out what's new.
{% endhint %}

**These documentation pages cover all functionality available in the StackState Self-hosted product**.

StackState Self-hosted can be used to observe an extensive set of technologies that originate either in your own data centers or in the cloud. If you are focussed solely on cloud technologies, such as Kubernetes or AWS, you might consider our SaaS solution.

➡️ Switch to the [documentation for StackState SaaS](https://docs.stackstate.com/v/stackstate-saas/)

### Using StackState

{% content-ref url="/pages/fOpXXshNOGCWMtDZpn4G" %}
[Getting Started](/5.1/getting_started.md)
{% endcontent-ref %}

### Setup and configuration

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Kubernetes / OpenShift</strong></td><td>Install StackState on Kubernetes or OpenShift.</td><td><a href="/pages/cl31ir627rl91Z6LFzoK">/pages/cl31ir627rl91Z6LFzoK</a></td><td><a href="/files/px5hDTldFrwhQJAHa2Op">/files/px5hDTldFrwhQJAHa2Op</a></td></tr><tr><td><strong>Integrations</strong></td><td>Integrate with your IT systems.</td><td><a href="/pages/uqdH5wMpfwYPO5hOuW38">/pages/uqdH5wMpfwYPO5hOuW38</a></td><td><a href="/files/p0pHBRo7Whg50H3aUvg0">/files/p0pHBRo7Whg50H3aUvg0</a></td></tr><tr><td><strong>StackState Agent</strong></td><td>Deploy and run StackState Agent V2.</td><td><a href="/pages/Dn6UwrZflMHyCGnlQvUJ">/pages/Dn6UwrZflMHyCGnlQvUJ</a></td><td><a href="/files/t9MQ07ouJYh35mQr5ngd">/files/t9MQ07ouJYh35mQr5ngd</a></td></tr></tbody></table>

### StackState developer

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Tutorials</strong></td><td>Walkthroughs to help you get started developing on StackState.</td><td><a href="/pages/sLOVZ3ng0vDL3R51pdVv">/pages/sLOVZ3ng0vDL3R51pdVv</a></td><td><a href="/files/E8ASvhOc4htA4GfBdiDi">/files/E8ASvhOc4htA4GfBdiDi</a></td></tr><tr><td><strong>Developer guides</strong></td><td>Create your own scripts, monitors and templates, and add these to a custom StackPack.</td><td><a href="/pages/wb4w211VUdp5Joemrt2T">/pages/wb4w211VUdp5Joemrt2T</a></td><td><a href="/files/Hehvm7n2BX5X6ZGvQFFo">/files/Hehvm7n2BX5X6ZGvQFFo</a></td></tr><tr><td><strong>Reference</strong></td><td>StackState templating, APIs markup and query language.</td><td><a href="/pages/2kCz0wf03Ghi73w25SGi">/pages/2kCz0wf03Ghi73w25SGi</a></td><td><a href="/files/Iq28aVCbtGBlEtgkRdym">/files/Iq28aVCbtGBlEtgkRdym</a></td></tr></tbody></table>

## Supported StackState versions

The supported versions of StackState are listed below:

* **StackState v5.1** - You are currently reading the documentation for StackState version 5.1.
* **StackState v5.0** - [Switch to the v5.0 docs](https://docs.stackstate.com/v/5.0/).
* **StackState v4.6** - [Switch to the v4.6 docs](https://docs.stackstate.com/v/4.6/).

For details on changes in each release and how to upgrade StackState, check the [StackState release notes and upgrade instructions](/5.1/setup/upgrade-stackstate.md).

To find documentation for previous StackState versions, use the drop-down menu at the top left of this page.

## Can't find something?

**Search for it!** Use the search bar on the top right. If you believe any documentation is missing, please let us know on the [StackState support site](http://support.stackstate.com/).

## Troubleshooting and support

Any questions? We love to help! Find our support team on the [StackState support site](http://support.stackstate.com/).


---

# 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://archivedocs.stackstate.com/5.1/latest.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.
