> ## Documentation Index
> Fetch the complete documentation index at: https://docs.synscribe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to set up the compliance guardrail

> Write a compliance policy — org context plus a few atomic rules — and turn it on per content type.

Set up the compliance guardrail on the [Compliance Guardrail page](https://www.synscribe.com/app/guardrail), or ask Pi to ingest a legal recommendation document and set up the guardrail.

A policy is your compliance context plus a handful of atomic
rules; each rule says what to flag and what *not* to flag. Turn it on per content type (blog and/or
landing pages). It's off by default, and once it's on it runs as a gate at publish. Then
[calibrate it](/platform/calibrate-evaluator) before you trust it.

<Frame caption="The Compliance Guardrail page (Settings): turn it on per content type, and write your policy below.">
  <img src="https://mintcdn.com/synscribe/nrc8GKkJ73Gh9UPN/images/platform/guardrail-settings.png?fit=max&auto=format&n=nrc8GKkJ73Gh9UPN&q=85&s=da830e322327acc0273c05f7ec9e97f5" alt="The Compliance Guardrail settings page, with per-content-type toggles for blog posts and landing pages, and a policy section with organization context." width="2994" height="1504" data-path="images/platform/guardrail-settings.png" />
</Frame>

## Steps

1. **Write the policy.** Give Pi your compliance context to break down into atomic rules. Each rule's
   guidance must state both halves: what to flag, and the carve-out ("do NOT flag Y"). Add a
   good/bad example pair where it sharpens the line.
2. **Toggle it on per content type.** Turn the guardrail on for blog posts, landing pages, or both.
   It's opt-in per org and per content type, and off by default, so nothing is gated until you
   switch it on.
3. **Know where the two pieces live.** The rules live in the policy; the on/off state is a separate
   per-type toggle. There isn't one master "enable guardrail" switch — you set the policy once, then
   flip the toggle for each content type you want gated.

## Ask Pi

```text theme={null}
set up the compliance guardrail for my company. context: [what we do and what we're regulated on].
then turn it on for landing pages.
```

Pi writes the policy, adds the rules, and sets the toggle, then you [calibrate](/platform/calibrate-evaluator).

<Frame caption="Hand Pi your compliance requirements and ask it to build the guardrail for blog posts and landing pages.">
  <img src="https://mintcdn.com/synscribe/nrc8GKkJ73Gh9UPN/images/platform/ask-pi-setup-guardrail.png?fit=max&auto=format&n=nrc8GKkJ73Gh9UPN&q=85&s=d60fa1204a9cf9446fe83b52d6f7abc5" alt="A Pi chat where the user asks it to read their compliance requirements and create the guardrail; Pi reads the policy and the guardrail-management skill." width="1932" height="874" data-path="images/platform/ask-pi-setup-guardrail.png" />
</Frame>

<Frame caption="Pi drafts the policy context and a set of rules, each with what it catches, ready for you to review.">
  <img src="https://mintcdn.com/synscribe/nrc8GKkJ73Gh9UPN/images/platform/pi-guardrail-rules-created.png?fit=max&auto=format&n=nrc8GKkJ73Gh9UPN&q=85&s=369247c9fbfb7b226152d05ba48f1d41" alt="Pi's result: a policy context summary and a table of rules with what each one catches." width="1930" height="1244" data-path="images/platform/pi-guardrail-rules-created.png" />
</Frame>

## Write good rules

A rule is only as good as its carve-out. "Flag any performance claim" over-flags; "flag performance
claims stated as guarantees, but do NOT flag factual past results with a cited source" gives the
judge a clean line. Keep rules atomic (one idea each) and few — a tight set of 3–8 beats a sprawling
one. See [how the guardrail decides](/platform/how-evaluator-decides) for why the policy *is* the
prompt.

> 🎬 **Video planned:** write a compliance policy for your company and turn it on. See the shot-list.

**Next:** [Calibrate the guardrail](/platform/calibrate-evaluator) · **Related:** [Refiner vs guardrail](/platform/refiner-vs-evaluator) · [Automate compliance checks](/platform/automate-compliance-checks) · [Compliance & QC setup](/platform/compliant-content-regulated-industry)
