# Chameleon

![Chameleon_Logo.svg](https://assets.relyanceuat.xyz/images/docs/13465143752333/13464683534861.svg)
Chameleon in an online web service that automatically tracks engagement and sends the data to your favorite analytics tool so you can holistically assess user engagement. It helps SaaS teams build self-service user onboarding, feature adoption, and feedback collection.

In order to integrate Chameleon with Relyance AI you will need your Chameleon **Token**.

#### In Chameleon:

![Chameleon-3.png](https://assets.relyanceuat.xyz/images/docs/13465143752333/13464960622733.png)
1. Login to your Chameleon account.
2. In the left-hand navigation menu, click **Integrations**.
3. Click the **</> Custom** button.
4. In the **API Tokens** card, click the **View my Tokens** button.
5. Click the **Generate Token** button on the right side of the page.
6. In the resulting dialog box, enter a meaningful name (e.g. Relyance Scan) and click **Generate token**.
7. This will open up a new dialog with your **Token**. Copy your new **Token** to be used in Relyance.
8. Click the checkbox **I have copied my API token** and click **Close**.

![Chameleon-4.png](https://assets.relyanceuat.xyz/images/docs/13465143752333/13465123474701.png)

![Chameleon-5.png](https://assets.relyanceuat.xyz/images/docs/13465143752333/13465123474317.png)

#### In the Relyance AI application:

![Chameleon-1.png](https://assets.relyanceuat.xyz/images/docs/13465143752333/13464581950989.png)
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 **Chameleon** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **Token** into its respective field.

The **Authentication** step asks for:

- **Token**: required; held as a secret.

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

![Chameleon-2.png](https://assets.relyanceuat.xyz/images/docs/13465143752333/13464519618701.png)

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

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

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

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

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