# Kentik

![Kentik-logo.svg](https://assets.relyanceuat.xyz/images/docs/6910350028173/6909643307917.svg)
Kentik is an open, scalable Network Traffic Intelligence platform for collecting, analyzing, and visualizing data about the health and performance of your organization's networks. It helps unify network operations, performance, security, and business intelligence.

In order to integrate Kentik with Relyance AI you will need an **API Key** and **Email** address.

#### In Kentik:

![Kentik-2.png](https://assets.relyanceuat.xyz/images/docs/6910350028173/6910282972173.png)
1. Login to your Kentik account.
2. The **Email** address you used to login will be used in Relyance.
3. Click on your user menu at the top-right hand corner.
4. Select **Profile**.
5. Select the **Authentication** tab.
6. Copy your **API token** to be used as your **API Key** in Relyance.

#### 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 **Kentik** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **API Key** and **Email** into their respective fields.

![Kentik-1.png](https://assets.relyanceuat.xyz/images/docs/6910350028173/6910304187917.png)

The **Authentication** step asks for:

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

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

![Kentik-3.png](https://assets.relyanceuat.xyz/images/docs/6910350028173/6910321045517.png)

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

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

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

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

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