> 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.md).

# Develop

- [Developer guides](https://archivedocs.stackstate.com/5.1/develop/developer-guides.md): StackState Self-hosted v5.1.x
- [Agent checks](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check.md): StackState Self-hosted v5.1.x
- [About Agent checks](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check/agent_checks.md): StackState Self-hosted v5.1.x
- [Agent check API](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check/agent-check-api.md): StackState Self-hosted v5.1.x
- [Agent check state](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check/agent-check-state.md): StackState Self-hosted v5.1.x
- [How to develop Agent checks](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check/how_to_develop_agent_checks.md): StackState Self-hosted v5.1.x
- [Connect an Agent check to StackState](https://archivedocs.stackstate.com/5.1/develop/developer-guides/agent_check/connect_agent_check_with_stackstate.md): StackState Self-hosted v5.1.x
- [Custom functions and scripts](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions.md): StackState Self-hosted v5.1.x
- [StackState functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/functions.md): StackState Self-hosted v5.1.x
- [Check functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/check-functions.md): StackState Self-hosted v5.1.x
- [Component actions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/component-actions.md): StackState Self-hosted v5.1.x
- [Event handler functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/event-handler-functions.md): StackState Self-hosted v5.1.x
- [ID extractor functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/id-extractor-functions.md): StackState Self-hosted v5.1.x
- [Mapping functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/mapping-functions.md): StackState Self-hosted v5.1.x
- [Monitor functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/monitor-functions.md): StackState Self-hosted v5.1.x
- [Propagation functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/propagation-functions.md): StackState Self-hosted v5.1.x
- [Template functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/template-functions.md): StackState Self-hosted v5.1.x
- [View health state configuration functions](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom-functions/view-health-state-configuration-functions.md): StackState Self-hosted v5.1.x
- [Custom Synchronization StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom_synchronization_stackpack.md): StackState Self-hosted v5.1.x
- [About the Custom Synchronization StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom_synchronization_stackpack/custom_synchronization_stackpack.md): StackState Self-hosted v5.1.x
- [How to customize elements created by the Custom Synchronization StackPack](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom_synchronization_stackpack/how_to_customize_elements_created_by_custom_synchronization_stackpack.md): StackState Self-hosted v5.1.x
- [How to configure a custom synchronization](https://archivedocs.stackstate.com/5.1/develop/developer-guides/custom_synchronization_stackpack/how_to_configure_custom_synchronization.md): StackState Self-hosted v5.1.x
- [Integrate external services](https://archivedocs.stackstate.com/5.1/develop/developer-guides/integrating_external_services.md): StackState Self-hosted v5.1.x
- [Mirroring Telemetry](https://archivedocs.stackstate.com/5.1/develop/developer-guides/mirroring.md): StackState Self-hosted v5.1.x
- [Monitors](https://archivedocs.stackstate.com/5.1/develop/developer-guides/monitors.md): StackState Self-hosted v5.1.x
- [Create monitors](https://archivedocs.stackstate.com/5.1/develop/developer-guides/monitors/create-custom-monitors.md): StackState Self-hosted v5.1.x
- [Monitor STJ file format](https://archivedocs.stackstate.com/5.1/develop/developer-guides/monitors/monitor-stj-file-format.md): StackState Self-hosted v5.1.x
- [StackPack development](https://archivedocs.stackstate.com/5.1/develop/developer-guides/stackpack.md): StackState Self-hosted v5.1.x
- [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
- [Synchronizations and templated files](https://archivedocs.stackstate.com/5.1/develop/developer-guides/synchronizations_and_templated_files.md): StackState Self-hosted v5.1.x
- [Reference](https://archivedocs.stackstate.com/5.1/develop/reference.md): StackState Self-hosted v5.1.x
- [StackState Template JSON (STJ)](https://archivedocs.stackstate.com/5.1/develop/reference/stj.md): StackState Self-hosted v5.1.x
- [Using STJ](https://archivedocs.stackstate.com/5.1/develop/reference/stj/using_stj.md): StackState Self-hosted v5.1.x
- [Template functions](https://archivedocs.stackstate.com/5.1/develop/reference/stj/stj_reference.md): StackState Self-hosted v5.1.x
- [StackState Markup Language (STML)](https://archivedocs.stackstate.com/5.1/develop/reference/stml.md): StackState Self-hosted v5.1.x
- [Using STML](https://archivedocs.stackstate.com/5.1/develop/reference/stml/using_stml.md): StackState Self-hosted v5.1.x
- [STML Tags](https://archivedocs.stackstate.com/5.1/develop/reference/stml/tags.md): StackState Self-hosted v5.1.x
- [StackState Query Language (STQL)](https://archivedocs.stackstate.com/5.1/develop/reference/stql_reference.md): StackState Self-hosted v5.1.x
- [StackState Scripting Language (STSL)](https://archivedocs.stackstate.com/5.1/develop/reference/scripting.md): StackState Self-hosted v5.1.x
- [Scripting in StackState](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/scripting-in-stackstate.md): StackState Self-hosted v5.1.x
- [Script result: Async](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/async-script-result.md): StackState Self-hosted v5.1.x
- [Script result: Streaming](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/streaming-script-result.md): StackState Self-hosted v5.1.x
- [Time in scripts](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/time-in-scripts.md): StackState Self-hosted v5.1.x
- [Script APIs](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis.md): StackState Self-hosted v5.1.x
- [Async - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/async.md): StackState Self-hosted v5.1.x
- [Component - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/component.md): StackState Self-hosted v5.1.x
- [HTTP - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/http.md): StackState Self-hosted v5.1.x
- [Prediction - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/prediction.md): StackState Self-hosted v5.1.x
- [StackPack - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/stackpack.md): StackState Self-hosted v5.1.x
- [Telemetry - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/telemetry.md): StackState Self-hosted v5.1.x
- [Time - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/time.md): StackState Self-hosted v5.1.x
- [Topology - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/topology.md): StackState Self-hosted v5.1.x
- [UI - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/ui.md): StackState Self-hosted v5.1.x
- [View - script API](https://archivedocs.stackstate.com/5.1/develop/reference/scripting/script-apis/view.md): StackState Self-hosted v5.1.x
- [Tutorials](https://archivedocs.stackstate.com/5.1/develop/tutorials.md): StackState Self-hosted v5.1.x
- [Create a simple StackPack](https://archivedocs.stackstate.com/5.1/develop/tutorials/basic_stackpack_tutorial.md): StackState Self-hosted v5.1.x
- [Push data to StackState from an external system](https://archivedocs.stackstate.com/5.1/develop/tutorials/push_integration_tutorial.md): StackState Self-hosted v5.1.x
- [Send events to StackState from an external system](https://archivedocs.stackstate.com/5.1/develop/tutorials/events_tutorial.md): StackState Self-hosted v5.1.x
- [Set up a mirror to pull telemetry data from an external system](https://archivedocs.stackstate.com/5.1/develop/tutorials/mirror_tutorial.md): StackState Self-hosted v5.1.x
