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

# Getting Started

> Learn how to build Voice and Messaging Agents with Clerk

## Quick Start

To get started building an Agent, navigate to the [Agents](https://clerk.ai/agents) section in Clerk Chat and click "New Agent"

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.47.55.gif?s=fa8eedeea891f2ff55de40b69a85741b" alt="2025-11-17 15.47.55.gif" width="1418" height="1249" data-path="images/2025-11-1715.47.55.gif" />

### Trigger Setup

The default trigger is `Incoming Message`. You can read more about the various Trigger types in Triggers section, but the `Incoming Message` trigger will fire whenever the Agent receives a message attached to an RCS, WhatsApp or SMS `Inbox`.

### AI Settings

Draw a line from the trigger node and select `AI Text`

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.49.12.gif?s=2e4f344ae055d140bce8b65c921a020c" alt="2025-11-17 15.49.12.gif" width="1418" height="1249" data-path="images/2025-11-1715.49.12.gif" />

Write a prompt for your agent and select the model of your choice to use as the LLM. **Clerk Chat** support a variety of model providers.

**Extract the Response**

Add a new extraction variable that represents the response of your agent. Clerk Chat response variables are highly cusomizable, and can be used anywhere else in the Agent.

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.53.29.gif?s=636095d2e32e3b220a6c1a0c8ce095e0" alt="2025-11-17 15.53.29.gif" width="1418" height="1249" data-path="images/2025-11-1715.53.29.gif" />

**Send a message**

Once you are finished drag another node from the AI node called send text, selecting the response variable as the value.

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.54.11.gif?s=157566dffb85ae9c7a283577ed6be349" alt="2025-11-17 15.54.11.gif" width="1418" height="1249" data-path="images/2025-11-1715.54.11.gif" />

## Test Your Agent

You are now ready to test your agent. Save the Agent and click the **Chat** button to converse with your agent.

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.55.18.gif?s=72787c227a9e9f0e9317ad1f8f88b429" alt="2025-11-17 15.55.18.gif" width="1418" height="1249" data-path="images/2025-11-1715.55.18.gif" />

## Connect to an `Inbox`

Once you are satisfied with your agent, you can connect it to an RCS,SMS, WhatsApp `Inbox` by selecting the agent for the `Inbox`.

<img src="https://mintcdn.com/clerkchat/JoLQaox1PlN5krDu/images/2025-11-1715.56.31.gif?s=10b27b117e308f2f79c70df8ab1eafd8" alt="2025-11-17 15.56.31.gif" width="1418" height="1249" data-path="images/2025-11-1715.56.31.gif" />
