# Recombee

![Recombee-logo.svg](https://assets.relyanceuat.xyz/images/docs/6706649487373/6707060054285.svg)
Recombee is web-based recommender system / software as a service (SaaS) providing content and product personalization. Recombee provides AI-powered personalized real-time content to increase clients' revenues, user satisfaction, and helps businesses grow.

In order to integrate Recombee with Relyance AI you will need a Recombee **API Identifier** and **Private Key**.

#### In Recombee:

![Recombee-3.png](https://assets.relyanceuat.xyz/images/docs/6706649487373/6707468386061.png)
1. Login to your Recombee admin portal.
2. Select Database that you want to use.
3. Navigate to the settings for that database.

4. Copy the **API Identifier** and **Private Token** (Private Key) to be used in Relyance AI.

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

![Recombee-1.png](https://assets.relyanceuat.xyz/images/docs/6706649487373/6707389813773.png)

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

![Recombee-2.png](https://assets.relyanceuat.xyz/images/docs/6706649487373/6707367215885.png)

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

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

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

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

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