> For the complete documentation index, see [llms.txt](https://help.windmillsoft.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.windmillsoft.kr/en/simplychat/salesforce-setup-guide/set-up-auto-response/setting-up-auto-response-in-salesforce/connect-to-an-agent-when-a-button-is-clicked.md).

# Connect to an agent when a button is clicked

1. Create the "Connect to Agent" button.

<figure><img src="/files/CJxG2nr5TQNUCpcgRzzA" alt=""><figcaption></figcaption></figure>

2. In the created "Connect to Agent" button record, click Related > New.

<figure><img src="/files/HKW6vfbrj8rQh8Ytr3EQ" alt=""><figcaption></figcaption></figure>

3. Create the message that will be displayed to the customer when they click the "Connect to Agent" button.

<figure><img src="/files/gPdTuYzPnba6J7x6eh8r" alt=""><figcaption></figcaption></figure>
