> For the complete documentation index, see [llms.txt](https://docs.omnix.co.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnix.co.id/omnix-ai/user-guide/guardrail-policy.md).

# Guardrail Policy

Atur batasan dan aturan perlindungan data yang wajib dipatuhi AI Agent saat menjawab.

### Daftar Policy

1. Akses menu **Policy**.
2. Klik **+ Add Policy** untuk membuat Guardrail Policy baru.
3. Policy yang sudah dibuat tampil pada tabel **List Policy**. Anda dapat melakukan **Edit**, **Activate / Non Active**, dan **Duplicate** policy.

<figure><img src="https://1873476608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr2cl4HgiZ8c57Ur5nrwn%2Fuploads%2FyP2gF8WFi6N2kXy6OldP%2Fpolicy-dashboard.jpg?alt=media&amp;token=99ea929c-43f5-4b36-b1a5-28221d69bd03" alt=""><figcaption><p>Policy Dashboard</p></figcaption></figure>

### Membuat Policy Baru

4. Klik tombol **+ Add Policy**.
5. Pada bagian **PII Protection**, tentukan perlakuan untuk setiap jenis data pribadi sesuai kebijakan perusahaan Anda.
6. Isi **Closing Blocked Message**, yaitu pesan default yang dikirim ketika user mencoba mengakses data yang di-block.
7. Klik **Save**.

<figure><img src="https://1873476608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr2cl4HgiZ8c57Ur5nrwn%2Fuploads%2FOE4nhc222AULyEXQNnHT%2Fadd-policy.jpg?alt=media&amp;token=00da3b19-e40d-4375-b1f4-fe957e608b16" alt=""><figcaption><p>Form Add Policy</p></figcaption></figure>

| Jenis PII                                                            | Opsi                             |
| -------------------------------------------------------------------- | -------------------------------- |
| Credit Card, Phone Number, Email Address, Location, Name, KTP Number | `Blocked` · `Allowed` · `Redact` |

{% hint style="info" %}
Policy yang sudah dibuat dipilih pada saat membuat AI Agent, di bagian **Agent AI Settings › Safe Guard Policy**.
{% endhint %}
