# Clicksend

![Clicksend-logo.svg](https://assets.relyanceuat.xyz/images/docs/8657193527181/8657138216717.svg)
ClickSend is online business communications software enabling companies to easily send and receive SMS, Email, Voice and even post worldwide via web app or API.

In order to integrate ClickSend with Relyance AI you will need **API Username** and **API Key**.

#### In ClickSend:

1. Login to your ClickSend account.
2. Go here: [https://dashboard.clicksend.com/account/subaccounts](https://dashboard.clicksend.com/account/subaccounts)
3. Copy your **API Username** and **API** **Key** and to be used in Relyance.

![Clicksend-3.png](https://assets.relyanceuat.xyz/images/docs/8657193527181/8658630464269.png)

#### In the Relyance AI application:

1. Login to your Relyance account.
2. Navigate to the **Settings** Menu in the bottom left-hand side.
3. Select **Integrations**.
4. Click on the **Vendors and Data Stores** filter.
5. Find the **ClickSend** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **API Username** and **API Key** into their respective fields.

![Clicksend-1.png](https://assets.relyanceuat.xyz/images/docs/8657193527181/8658630701965.png)

The **Authentication** step asks for:

- **API Username**: required.
- **API Key**: required; held as a secret.

9. Click **Authenticate**.
10. At this point, you should see the following result on the **Vendor** Integrations page:

![Clicksend-2.png](https://assets.relyanceuat.xyz/images/docs/8657193527181/8658630467981.png)

11. Congratulations, you are now connected to **ClickSend**.

<!-- terraform-examples:begin (generated from the integration catalog; do not hand-edit) -->

## Manage this integration with Terraform

Connections for this integration can be managed as code with the [Relyance Terraform provider](https://registry.terraform.io/providers/Relyance/relyance/latest). Non-secret fields go in `auth.params`; secret fields go in `auth.secrets_wo`, which is write-only — never stored in Terraform state. Rotate secrets by bumping `auth.secrets_wo_version`.

```hcl
resource "relyance_integration_connection" "clicksend" {
  vendor = "clicksend"
  name   = "<your connection name>"

  auth = {
    method = "api-key"
    params = {
      api_user = "<api_user>"
      data_storage_location = "us"
    }
    # Secret fields are write-only: sent to Relyance, never stored in state.
    secrets_wo = {
      api_key = var.clicksend_api_key
    }
    secrets_wo_version = 1
  }

  scans = { "property-inspection" = { enabled = true } }
}
```

<!-- terraform-examples:end -->
