# Setup

- [Install StackState](https://archivedocs.stackstate.com/5.1/setup/install-stackstate.md): StackState Self-hosted v5.1.x
- [Requirements](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/requirements.md): StackState Self-hosted v5.1.x
- [Kubernetes / OpenShift](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift.md): StackState Self-hosted v5.1.x
- [Kubernetes install](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/kubernetes_install.md): StackState Self-hosted v5.1.x
- [OpenShift install](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/openshift_install.md): StackState Self-hosted v5.1.x
- [Required Permissions](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/required_permissions.md): StackState Self-hosted v5.1.x
- [Non-high availability setup](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/non_high_availability_setup.md): StackState Self-hosted v5.1.x
- [Override default configuration](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/customize_config.md): StackState Self-hosted v5.1.x
- [Configure storage](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/storage.md): StackState Self-hosted v5.1.x
- [Configure Ingress](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/ingress.md): StackState Self-hosted v5.1.x
- [Install from custom image registry](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/install-from-custom-image-registry.md): StackState Self-hosted v5.1.x
- [Migrate from Linux install](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/kubernetes_openshift/migrate_from_linux.md): StackState Self-hosted v5.1.x
- [Linux](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux.md): StackState Self-hosted v5.1.x
- [Before you install](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/before_you_install.md): StackState Self-hosted v5.1.x
- [Download](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/download.md): StackState Self-hosted v5.1.x
- [Install StackState](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/install_stackstate.md): StackState Self-hosted v5.1.x
- [Install with production configuration](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/production-installation.md): StackState Self-hosted v5.1.x
- [Install with development configuration](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/development-installation.md): StackState Self-hosted v5.1.x
- [Install with POC configuration](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/poc-installation.md): StackState Self-hosted v5.1.x
- [Set up a reverse proxy](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/reverse_proxy.md): StackState Self-hosted v5.1.x
- [Set up TLS without reverse proxy](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/linux/how_to_setup_tls_without_reverse_proxy.md): StackState Self-hosted v5.1.x
- [Initial run guide](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/initial_run_guide.md): StackState Self-hosted v5.1.x
- [Troubleshooting](https://archivedocs.stackstate.com/5.1/setup/install-stackstate/troubleshooting.md): StackState Self-hosted v5.1.x
- [Upgrade StackState](https://archivedocs.stackstate.com/5.1/setup/upgrade-stackstate.md): StackState Self-hosted v5.1.x
- [Steps to upgrade](https://archivedocs.stackstate.com/5.1/setup/upgrade-stackstate/steps-to-upgrade.md): StackState Self-hosted v5.1.x
- [Version specific upgrade instructions](https://archivedocs.stackstate.com/5.1/setup/upgrade-stackstate/version-specific-upgrade-instructions.md): StackState Self-hosted v5.1.x
- [StackPack versions](https://archivedocs.stackstate.com/5.1/setup/upgrade-stackstate/stackpack-versions.md): StackState Self-hosted v5.1.x
- [StackState release notes](https://archivedocs.stackstate.com/5.1/setup/upgrade-stackstate/sts-release-notes.md): StackState Self-hosted v5.1.x
- [StackState Agent](https://archivedocs.stackstate.com/5.1/setup/agent.md): StackState Self-hosted v5.1.x
- [About StackState Agent V3](https://archivedocs.stackstate.com/5.1/setup/agent/about-stackstate-agent.md): StackState Self-hosted v5.1.x
- [Docker](https://archivedocs.stackstate.com/5.1/setup/agent/docker.md): StackState Self-hosted v5.1.x
- [Kubernetes / OpenShift](https://archivedocs.stackstate.com/5.1/setup/agent/kubernetes-openshift.md): StackState Self-hosted v5.1.x
- [Linux](https://archivedocs.stackstate.com/5.1/setup/agent/linux.md): StackState Self-hosted v5.1.x
- [Windows](https://archivedocs.stackstate.com/5.1/setup/agent/windows.md): StackState Self-hosted v5.1.x
- [Advanced Agent configuration](https://archivedocs.stackstate.com/5.1/setup/agent/advanced-agent-configuration.md): StackState Self-hosted v5.1.x
- [Use an HTTP/HTTPS proxy](https://archivedocs.stackstate.com/5.1/setup/agent/agent-proxy.md): StackState Self-hosted v5.1.x
- [Agent V1 (legacy)](https://archivedocs.stackstate.com/5.1/setup/agent/agent-v1.md): StackState Self-hosted v5.1.x
- [Migrate Agent V1 to Agent V2](https://archivedocs.stackstate.com/5.1/setup/agent/migrate-agent-v1-to-v2.md): StackState Self-hosted v5.1.x
- [Linux](https://archivedocs.stackstate.com/5.1/setup/agent/migrate-agent-v1-to-v2/migrate-agent-v1-to-v2-linux.md): StackState Self-hosted v5.1.x
- [Docker](https://archivedocs.stackstate.com/5.1/setup/agent/migrate-agent-v1-to-v2/migrate-agent-v1-to-v2-docker.md): StackState Self-hosted v5.1.x
- [StackState CLI](https://archivedocs.stackstate.com/5.1/setup/cli.md): StackState Self-hosted v5.1.x
- [CLI: sts](https://archivedocs.stackstate.com/5.1/setup/cli/cli-sts.md): StackState Self-hosted v5.1.x
- [CLI: stac (deprecated)](https://archivedocs.stackstate.com/5.1/setup/cli/cli-stac.md): StackState Self-hosted v5.1.x
- [Comparison between CLIs](https://archivedocs.stackstate.com/5.1/setup/cli/cli-comparison.md): StackState Self-hosted v5.1.x
- [Data management](https://archivedocs.stackstate.com/5.1/setup/data-management.md): StackState Self-hosted v5.1.x
- [Backup and Restore](https://archivedocs.stackstate.com/5.1/setup/data-management/backup_restore.md): StackState Self-hosted v5.1.x
- [Kubernetes backup](https://archivedocs.stackstate.com/5.1/setup/data-management/backup_restore/kubernetes_backup.md): StackState Self-hosted v5.1.x
- [Linux backup](https://archivedocs.stackstate.com/5.1/setup/data-management/backup_restore/linux_backup.md): StackState Self-hosted v5.1.x
- [Configuration backup](https://archivedocs.stackstate.com/5.1/setup/data-management/backup_restore/configuration_backup.md): StackState Self-hosted v5.1.x
- [Data retention](https://archivedocs.stackstate.com/5.1/setup/data-management/data_retention.md): StackState Self-hosted v5.1.x
- [Clear stored data](https://archivedocs.stackstate.com/5.1/setup/data-management/clear_stored_data.md): StackState Self-hosted v5.1.x


---

# Agent Instructions: 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:

```
GET https://archivedocs.stackstate.com/5.1/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
