> 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/develop/developer-guides/stackpack.md).

# StackPack development

- [How to create a StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/develop_stackpacks.md): StackState Self-hosted v5.1.x
- [Packaging](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/prepare_package.md): StackState Self-hosted v5.1.x
- [How to get a template file](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/how_to_get_a_template_file.md): StackState Self-hosted v5.1.x
- [How to make a multi-instance StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/how_to_make_a_multi-instance_stackpack.md): StackState Self-hosted v5.1.x
- [Prepare a multi-instance provisioning script](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/prepare_multi-instance_provisioning_script.md): StackState Self-hosted v5.1.x
- [Upload a StackPack file](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/how_to_pack_and_upload_stackpack.md): StackState Self-hosted v5.1.x
- [Prepare a shared template](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/prepare_shared_template.md): StackState Self-hosted v5.1.x
- [Customize a StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/how_to_customize_a_stackpack.md): StackState Self-hosted v5.1.x
- [Prepare instance template files](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/prepare_instance_template_file.md): StackState Self-hosted v5.1.x
- [Prepare a StackPack provisioning script](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/prepare_stackpack_provisioning_script.md): StackState Self-hosted v5.1.x
- [Resources in a StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/stackpack_resources.md): StackState Self-hosted v5.1.x
- [StackState Common Layer](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack/stackstate-common-layer.md): StackState Self-hosted v5.1.x


---

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

```
GET https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack.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.
