# Delighted

![delighted_logo3.png](https://assets.relyanceuat.xyz/images/docs/10967713932685/10966173811853.png)
Delighted is an online self-serve feedback platform for gathering NPS (Net Promoter Score), CSAT (Customer Satisfaction), CES (Customer Effort Score) or 5-star ratings along with open-ended responses. It provides an easy way to gather real time, actionable feedback from your customers, employees, partners, and vendors.

In order to integrate Delighted with Relyance AI you will need an **API Key**.

#### In Delighted:

1. Login to your Delighted account.
2. Once logged in, go here: [https://app.delighted.com/docs/api](https://app.delighted.com/docs/api)
3. Under the **Authentication** section, copy your **API Key**.

![Delighted-3.png](https://assets.relyanceuat.xyz/images/docs/10967713932685/10967676209037.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 **Vendor Integration** tab.
5. Find the **Delighted** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **API Key** into its respective field.

![Delighted-1.png](https://assets.relyanceuat.xyz/images/docs/10967713932685/10967610709517.png)

The **Authentication** step asks for:

- **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:

![Delighted-2.png](https://assets.relyanceuat.xyz/images/docs/10967713932685/10967602550157.png)

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

<!-- 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" "delighted" {
  vendor = "delighted"
  name   = "<your connection name>"

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

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

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