4Keyless secures AI agent access to protected systems through a managed SaaS platform.
As an end user, you will use the Admin Panel to configure agents, systems, credentials, and policies,
while your agents send traffic through the 4Keyless Proxy endpoint provided in your workspace.
⬇ CA Certificate — Download & Install
The 4Keyless proxy uses a CA certificate to perform HTTPS interception (MITM).
You must install and trust this certificate on every machine or container that routes traffic through the proxy.
Sign in to your 4Keyless workspace at your SaaS URL (example: https://app.4keyless.io).
Complete MFA setup in Settings if prompted.
Create your first Target System (REST API, Web App, GraphQL, Database, or MCP).
Each system supports multiple domains (e.g., HTTP and HTTPS URLs).
Create a Credential and link it to the target system.
Create an AI Agent and securely store the generated agent key.
3. Connect your AI agent
In SaaS mode, 4Keyless provides a managed proxy endpoint for your workspace.
Configure your agent to route outbound requests through that endpoint and include your agent key.
Two authentication formats are supported:
# Format 1: 4Keyless header (programmatic)
HTTPS_PROXY=https://proxy.<your-workspace>.4keyless.io:443
Proxy-Authorization: 4Keyless <your-agent-key>
# Format 2: Basic auth (browser-compatible)
Proxy-Authorization: Basic base64(agent:<your-agent-key>)
You can rotate agent keys any time from Agents > Rotate Key.
After rotation, update the key in your AI runtime immediately.
4. Configure policies
Policies define what each AI agent can do against each target system.
block: always deny access.
allow: allow access automatically.
ask: require human approval before forwarding the request.
Recommended default: start with block, then move selected flows to allow or ask.
5. MCP Gateway
The MCP Gateway allows AI agents to interact with upstream MCP (Model Context Protocol) servers
through the same authentication, policy enforcement, and credential injection used by the HTTP proxy.
Registering an MCP system
Go to Systems, create a new system, and select type MCP.
Set the Transport (HTTP, SSE, or Stdio) and the Server URL (e.g., https://mcp.notion.com/mcp).
Optionally link an Upstream Credential (Bearer token for the MCP server).
Go to MCP Gateway in the left menu and click Sync to discover available tools.
The ?system= parameter accepts either a UUID or the system name (case-insensitive).
Policies are enforced per tool using the mcp_tool_name field in access policies.
6. Daily operations
Use these areas in the Admin Panel:
Dashboard: monitor recent activity and key metrics.
Logs: filter by agent, system, decision, and time window.
Notifications: review and respond to approval requests.
Scripts: manage script actions for custom request/response behavior.