> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gotohuman.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up agent

> Connect your AI agent or workflow to gotoHuman.

### Add an agent

Each agent you add gets a unique **ID** that identifies it in all communication with gotoHuman — use it as the `agentId` when [sending review requests](/send-requests).

<h3 id="agent-webhook">
  Add a webhook URL
</h3>

Add a **webhook URL** to your agent. gotoHuman will `POST` all events for that agent to this endpoint — review completions (or tool results if a separate [tool webhook](/create-template#tool-webhook) is set up that gets called on completion first), trigger form submissions, and chat messages. See [Webhook events](/webhooks) for the full list of event types and payloads.

<Info>
  You can also set a dynamic **webhook URL** in the [review requests](/send-requests#webhookurl) you send.
</Info>

### Launching agents and workflows

gotoHuman works great for adding approval steps to agents that run in the background.\
But it also lets your team **start** agent runs or workflows directly in gotoHuman:

* **[Trigger forms](/manual-triggers)** — let users launch a workflow from an input form. Useful for creating an agentic app that is always triggered from a predefined set of inputs.
* **[Chat agents](/chat-agents)** — a common chat interface to interact with conversational agents.

Both route submissions to your agent webhook, so you can continue from there.

<Note>
  gotoHuman works perfectly well as a pure human-in-the-loop review layer without using trigger forms or chat.
</Note>
