> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/resilience-testing/chaos-engineering/faults/custom-faults/custom-fault-templates.md).

# Custom Fault Templates

This approach provides pre-configured templates that you can customize for your specific needs, enabling faster development and ensuring best practices.

## Overview <a href="#overview" id="overview"></a>

Custom fault templates offer a streamlined way to create chaos faults by starting with proven patterns and configurations. Templates include industry-standard settings, safety measures, and common parameters that can be customized for your specific use case.

## When to Use <a href="#when-to-use" id="when-to-use"></a>

Choose this approach when:

* Your use case aligns with common fault patterns
* You want to quickly prototype and iterate on fault designs
* You prefer guided configuration over building from scratch
* You want to ensure best practices are followed
* You need to rapidly deploy multiple similar faults

## Creating a Custom Fault Template <a href="#creating-a-custom-fault-template" id="creating-a-custom-fault-template"></a>

1. Navigate to **Project Settings** for your project and open your existing **Chaos Hub** or create a new one.

   ![Project Settings](/files/TVyHGPh0ERTn5qGqC8PY)
2. Click **New Fault Template**, and add the basic details likes **Name**, **Description**, **Tags**, and **Category**. Then click **Configure Details**.

   ![New Fault](/files/lT3CqbPhbPDZwyh4W4Rw)
3. Configure the execution properties and parameters for your custom fault, then click **Create Fault Template**.

   ![New Fault](/files/Keu7x9DmtHWwC4SvRgT0)
4. Now, go back to **Project Settings** for your project and open **Chaos Faults**.
5. Click **Custom Faults** on the top-right, then click the dropdown arrow next to **New Fault** and select **Start with a template**.

   ![New Fault](/files/Ch4liLLGEAoBjwz0hp1O)
6. Select the custom fault template you created, you will find that in your project's **Chaos Hub**.

   ![New Fault](/files/KBgKfHBoWTiJxWYxLB9U)
7. Select your fault template and click **Create as Local Copy**.

   ![New Fault](/files/tZrN4hu8plvYebzaClSD)
8. Configure the basic details for your fault. The fault properties will be automatically populated from the template. Review and modify as needed, then click **Create Fault**.

   ![New Fault](/files/nqL4HVjB90XNddP2aCtS)
9. That's it! Add your custom fault to experiments as you would with any other fault.

## Next Steps <a href="#next-steps" id="next-steps"></a>

* [Create and run chaos experiments](/resilience-testing/chaos-engineering/new-to-chaos-engineering/quickstart.md)
* [Learn about chaos experiment best practices](/resilience-testing/chaos-engineering/chaos-experiments/index.md)
