# Split

![Split_Logo_Hero.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5976982742157.png)
Split is a software delivery platform to help engineering teams build and validate impactful products. It provides feature flag management, software experimentation, and continuous delivery.

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

#### In Split:

1. Login to your **Split** account.
2. Navigate to **Admin Settings** by clicking the Profile Icon in the upper left corner of the screen (make sure you select ***Admin Settings*** not ***My Settings***).
3. Select **API Keys** from the navigation items on the left and click **Create API Key**.

![split-3.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979299707661.png)

![split-1.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979314401293.png)

4. Give your API key a descriptive name like ‘**relyance-admin-api-key**’ and Select type: **Admin**.
5. Click **Create**.
6. Find your new **API key** in the list and click **Copy**.

![split-6.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979343970701.png)

![split-2.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979385017101.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 **Split Software** integration card and click it to open its connections.
6. Under **Authentication Method**, choose **Custom**.
8. Paste the **API Key** into its respective field.

![Split-7.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979395776013.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:
11. Congratulations, you are now connected to **Split**.

![Split-8.png](https://assets.relyanceuat.xyz/images/docs/5977065313037/5979476073485.png)

<!-- 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" "splitsoftware" {
  vendor = "splitsoftware"
  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.splitsoftware_api_key
    }
    secrets_wo_version = 1
  }

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

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