Setup
- Web App
- API
- In the web app, navigate to Connections and click New Connection
- Select HTTP Proxy as the connection type
- Choose your agent and give the connection a name
- Set
REMOTE_URLto the target service URL - Click Save
Accessing the Connection
When you open a connection via Connect > Open in Native Client in the web app, Hoop issues a time-limited session token and provides two ways to use it: Authorization header — for API clients, curl, or any tool that supports custom headers:Custom Headers
UseHEADER_* environment variables to inject headers into every proxied request. This is useful for credential offloading — the client never holds the API key directly.
Add them to the connection’s secret object using the same "envvar:KEY": "<base64-value>" pattern as REMOTE_URL:
HEADER_* variables as needed. Each becomes a header on every proxied request.
Self-Signed Certificates
For services with self-signed or internal CA certificates, setINSECURE=true to skip TLS verification. Add it to the connection’s secret object alongside REMOTE_URL:
dHJ1ZQ== is the base64 encoding of true.)