# How do I configure and test an app proxy?

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Models & AI. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/app_proxy_settings/

Search for **In-App Proxy** in Settings, add or edit a proxy, enter the host and port, and select the protocol. SOCKS5 requires API 26 and system capability support; once switched to SOCKS5 you can also enter a username and password, though most local proxies require no authentication.

**Bypass List** supports domains or IP addresses—for example, `example.com` or `192.168.1.10`—separated by commas or new lines. Matching addresses connect directly.

**Test Connection** at the bottom checks the actual route using your current unsaved settings and reports success or the failure reason; tap **Save** once everything looks right. Testing does not save your settings automatically, nor does it guarantee that every model endpoint works—use the connection test on each provider's details page to verify model capabilities.
