# Test connection button

Source: https://developer.avalara.com/products/communications/integration-guides/communications-integration/ghb1723602401548/

Guide: Communications

# Test connection button

**Element type: Required**

**Enpoints/models used:** [HealthCheck](https://developer.avalara.com/api-reference/communications/v2/methods/Health%20Check/HealthCheck/)

Your UI must include a button that allows users to test the connection to the AvaTax for Communications service and verify the login credentials. This is an important element to allow for successful troubleshooting of the AvaTax Communications Service. This button should call the [HealthCheck](https://developer.avalara.com/api-reference/communications/v2/methods/Health%20Check/HealthCheck/) endpoint.

**View example**:

```
curl
    -X GET
    -H 'Accept: application/json'
    -H 'Authorization: Basic aHR0cHdhdQNoOmY='
    'https://sandbox-rest.avatax.com/api/v2/HealthCheck' 
```