Create your first AI voice agent in minutes.
prompt
and welcome_message
here to change how the agent greets and responds./app
, create an api
folder as well two subfolders authorize
and agent
:next.config.js
while developing.VoiceAgent
https://8bbf4104a752.ngrok-free.app
).Append /api/agent
to it e.g. https://8bbf4104a752.ngrok-free.app/api/agent
Take that URL and go to your Layerode agent dashboard at https://dash.layercode.com/Click Connect your backend, then paste that URL into Webhook URL and press Connect.If you haven’t already, note down the webhook secret and put it into your .env.local
as LAYERCODE_WEBHOOK_SECRET
.Now, refresh your app and test it out. It should work—but if you get stuck, please email us!prompt
or welcome_message
in layercode-config.json
to customize your agent.