# Lokalise

![Lokalise_logo_2021.svg.png](https://assets.relyanceuat.xyz/images/docs/13464272864013/13463905914765.png)
Lokalise lets you manage the translations of mobile apps, games, websites – either on your own or with a team of collaborators. Lokalise is a localization and translation management platform for agile teams.

In order to integrate Lokalise with Relyance AI you will need an **API Token**.

#### In Lokalise:

1. Login to your Lokalise account.
2. In the bottom left-corner click your profile icon.
3. In the resulting menu select **Profile Settings**.
4. Click **API tokens** in the settings page.
5. Copy your **Token** to be used in Relyance.

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

![Lokalise-1.png](https://assets.relyanceuat.xyz/images/docs/13464272864013/13464025162125.png)

The **Authentication** step asks for:

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

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

![Lokalise-2.png](https://assets.relyanceuat.xyz/images/docs/13464272864013/13464217710477.png)

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

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

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

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

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