Install midline-agent, add the middleware to Express, NestJS or plain Node, and run it as a reverse proxy. Covers redaction, batching, retries and console capture.