The Relay container image is currently in early access. Contact support@causeflow.ai to request access before following this guide.
Prerequisites
Before you begin, make sure you have:
- Docker >= 20 installed on the host where you’ll run the Relay
- A CauseFlow account with Relay enabled on your tenant (contact support if you’re unsure)
- Network access from the Relay host to your database(s) and to
api.causeflow.ai:443(outbound) - The Relay container image — request access at support@causeflow.ai
api.causeflow.ai on port 443.Get your relay token
- Log in to the CauseFlow Dashboard.
- Go to Settings → Relay.
- Click Create relay token.
- Copy the Relay Token and Tenant ID — you’ll need both in the next step.
Create your configuration file
Create Replace the
relay-config.yaml on the host where you’ll run the Relay. Use the example below as a starting point:relay-config.yaml
${...} placeholders with your actual values, or pass them as environment variables when you start the container (recommended — never hardcode credentials in the config file).See the configuration reference for a full description of every option.Run the container
Start the Relay with all recommended security flags:The container starts, reads your config, connects to the control plane, and begins responding to queries. It logs structured JSON to stdout.
Verify the connection
Option 1 — Dashboard: Open the CauseFlow Dashboard and go to Settings → Relay. Your relay should appear in the connections list within a few seconds with a green status indicator.Option 2 — API: Check relay status via the CauseFlow API:A healthy response looks like:Option 3 — Container logs: Check the container logs directly:A successful startup looks like:
Next steps
Configuration reference
Explore all configuration options for resources, masking, and audit settings.
Deployment options
Deploy with Docker Compose, Kubernetes, or ECS Fargate.
PII masking
Configure built-in and custom masking patterns.
Troubleshooting
Common issues and how to resolve them.