Reference
Security is built into every layer of the Better Data LLM Gateway. We take a "Zero Trust" approach to AI interactions.
The gateway requires valid API keys for all non-discovery requests. Use the auth config to manage your secrets.
The gateway acts as a protective shield for your Shopify or Square store. It prevents the LLM from making unfiltered or malicious queries directly to your sensitive APIs.
Prevent "Prompt Injection" attacks or bot scrapers from draining your commerce resources.
By using structured Zod schemas and capability contracts, we define exactly what the AI can and cannot ask for. The AI cannot "hallucinate" a 100% discount if your backend doesn't support it.
All backend handlers run in a constrained environment. They do not have access to your server's filesystem or environment variables unless you explicitly provide them.
Avoid "System Prompt Leaking" by hosting your base prompts inside the gateway rather than sending them with every client request. The gateway injects the "Ground Truth" product data securely before sending it to the LLM.
WEBHOOK_SECRET and GATEWAY_API_KEY.