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

# Security Headers

> Setting Security Headers

To ensure your web page can securely access and send data to pagent, you need to configure the appropriate security headers. Below is a guide for setting up these headers, including a Content Security Policy (CSP).

## Content Security Policy (CSP)

The Content Security Policy header controls which resources can be loaded on your page. To allow \*.pagent.ai, you need to include it in your policy. Here's an example configuration:

```http theme={"dark"}
Content-Security-Policy: connect-src 'self' https://*.pagent.ai; frame-src 'self' *.pagent.ai;
```
