docs/agents/custom-code-agent/setup-your-agent/overview.mdx
To process incoming messages, you must set up an agent in two places: the Novu dashboard (name, providers, bridge URL, status) and your bridge app (handlers, replies, and signals). The pages in this section cover both sides.
A conversational agent includes:
agentId used in code and API calls. Set at creation and cannot be changed later./api/novu in scaffolded projects).A conversation starts when a user sends a message to your agent on a connected provider. Novu receives the event, loads or creates the conversation, calls your handler with full context, and delivers your reply back to the same thread. Every turn is persisted in Novu.
onMessage, onAction, and so on) on your bridge URL.For step-by-step inbound processing, see Mental model.