> 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

Configure a button that connects the customer to an agent when clicked.

1. Create the "Connect to Agent" button.

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2F5IoPPpK7jYjhAObxxRww%2Fimage.png?alt=media&amp;token=c16b2a48-0bac-459e-ab5d-ab78151cae31" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2Fo7iMDxlOYGaAPWrRPPzH%2Fimage.png?alt=media&amp;token=4e56c721-467a-4cff-acf4-aa112094d7d7" 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="https://174170309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcMCw4RFNzatnGReKcWKb%2Fuploads%2FoQTM0GiFnanvV8ErG3Nj%2Fimage.png?alt=media&amp;token=9aac83ad-bc78-457b-9636-75cbe742f9e2" alt=""><figcaption></figcaption></figure>
