Use this guide when moving from local development (tunnel Webhook URL) to a stable production deployment.Documentation Index
Fetch the complete documentation index at: https://docs.layercode.com/llms.txt
Use this file to discover all available pages before exploring further.
Set your production Webhook URL
In the Layercode dashboard:- Open the agent you want to be your production agent and click Connect Your Backend
- Set your Webhook URL to your production endpoint, e.g.
https://your-domain.com/api/agent - Save changes
Use separate Layercode agents for production and for development or staging. Point each to its own backend URL. Keep your production Webhook URL stable and use staging agents for preview builds.
Verify webhook signature in production
Keep signature verification enabled in your/api/agent route. This protects your app from spoofed requests.