> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.withpersona.com/2020-05-18/relay-gateway-service-deploying/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withpersona.com/_mcp/server. # Deploying the server > A self-hosted service that handles Privacy Pass cryptography on your behalf. The Relay Gateway Service is a self-hosted microservice that wraps the Relay Server SDK. It exposes a simple HTTP API so your server can complete the Relay flow without directly implementing Privacy Pass cryptography. This is useful when: * Your stack does not have library support for blind RSA cryptography or OHTTP * You want to isolate cryptographic operations into a dedicated service The gateway handles the full blind/unblind protocol internally. Your server only needs to make standard HTTP calls. ## Deployment The gateway is distributed as a Docker image hosted on GitHub Container Registry (GHCR): ```bash docker pull ghcr.io/persona-id/persona-relay-gateway:latest ``` ## Configuration The gateway takes no configuration — there are no environment variables to set and no API key to provision. It is a stateless HTTP wrapper: every call carries its own credentials, and the environment is chosen per request. See [Usage](/relay-gateway-service-usage). > A self-hosted service that handles Privacy Pass cryptography on your behalf.