> 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/continuous-delivery/troubleshooting-and-resources/armory/general/policy-engine-regoscript-examples.md).

# Policy Engine RegoScript Examples

### Introduction <a href="#introduction" id="introduction"></a>

Customer looking for some guidance on Policy Engine scripts and creating policies should first look to the [OPA/Rego Script guidance](https://www.openpolicyagent.org/docs/latest/policy-language/) page. However, customers may want some examples to get started and the guidance below can be a good reference to start with.

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Customers should [first install the Policy Engine Plugin](https://docs.armory.io/armory-enterprise/armory-admin/policy-engine/policy-engine-enable/policy-engine-plug-enable/) before proceeding

### Instructions <a href="#instructions" id="instructions"></a>

Below are some standard examples. If customers would like additional assistance beyond the below information, we recommend discussing options for a Professional Services engagement with the customer's account manager. <https://docs.armory.io/armory-enterprise/armory-admin/policy-engine/policy-engine-use/example-policies/>
