> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/opsmx-1/opsmx-context-engine/user-guide/data-sources/available-integrations/policy.md).

# Policy

### OPA (Open Policy Agent)

The following figure depicts the information to be provided to add OPA (Open Policy Agent) as an integration.

<figure><img src="/files/0JeMUa1UT1R9yfBxHv5X" alt=""><figcaption></figcaption></figure>

Following are the fields:

* **Account Name**: The name of the OPA user account&#x20;
* **End Point**: Provide the URL of the OPA server
* **Group and Permissions**: To enable access to all user groups, check the  **Enable all access to all the groups for this** checkbox. To provide access to only selected user groups, uncheck this checkbox and select the required users from the **Select Group** drop down and enable the needed permissions like **Edit**, **View** or **Delete**.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/opsmx-1/opsmx-context-engine/user-guide/data-sources/available-integrations/policy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
