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

# Network Configuration

> Domains, IPs, and firewall rules required for Anam connections

To ensure a reliable connection to Anam, whitelist the following on ports 80 and 443 across both TCP and UDP protocols.

## Anam endpoints

| Endpoint                                                  | Purpose                                        |
| --------------------------------------------------------- | ---------------------------------------------- |
| `https://api.anam.ai`                                     | REST API                                       |
| `https://lab.anam.ai`                                     | Anam Lab portal                                |
| `https://connect-eu.anam.ai` / `wss://connect-eu.anam.ai` | EU media server (WebRTC signaling + streaming) |
| `https://connect-us.anam.ai` / `wss://connect-us.anam.ai` | US media server (WebRTC signaling + streaming) |

## Media relay IPs

Anam uses TURN servers for media relay when direct peer-to-peer connections are not possible. Whitelist all IPs listed at:

<Card title="TURN Server IP Whitelist" icon="shield" href="https://www.metered.ca/static-content/stun-turn/turnserver-ip-whitelist/all.txt">
  Full list of media relay IPs to whitelist
</Card>

## SSL inspection

If you use a proxy that performs deep-packet inspection (Zscaler, Fortinet, etc.), bypass SSL inspection for `*.anam.ai` domains. Decrypting these packets will cause WebSocket signaling to fail or disconnect.

## Content Security Policy

If your site enforces a CSP, add the following directives depending on your integration method:

```http theme={"system"}
# Widget
Content-Security-Policy: script-src https://unpkg.com/@anam-ai/; connect-src https://api.anam.ai wss://connect-eu.anam.ai wss://connect-us.anam.ai;

# Player (iframe)
Content-Security-Policy: frame-src https://lab.anam.ai;

# SDK
Content-Security-Policy: connect-src https://api.anam.ai wss://connect-eu.anam.ai wss://connect-us.anam.ai;
```

See the [Embed page](/embed#security) for browser support and troubleshooting details.
