Styra OPA Resources
We want you to succeed with policy as code. As the original creators of OPA, we're well placed to provide some pointers on how to get the most out it. Below are some of the tools and resources we've created to help you on your policy as code journey.
Getting Started
Rego is a powerful language for policy as code, with our resources you'll be a pro in no time.
Regal
Our free Rego linter and language server for Rego developers.
Rego Cheat Sheet
A quick reference of common contact points for all Rego learners
Rego by Comparison
Start learning by comparing Rego with other languages you already know.
Explore OPA in Depth
These resources will help you gain a deeper understanding of OPA and Rego.
OPA Errors Guide
Explanations of common errors you might encounter when working with OPA.
Rego by Example
Examples Rego best practices to avoid unexpected functionality.
Rego Style Guide
Recommendations and best practices for authoring Rego.
Awesome OPA
A curated list of awesome OPA content - a great starting point for understanding what's possible with policy as code.