Optimizely
Optimizely is an online Digital Experience Platform (DXP) software as a service. It provides A/B testing and multivariate testing tools, website personalization, and feature toggle capabilities, as well as web content management and digital commerce.
In order to integrate Optimizely with Relyance AI you will need an Access Token.
In Optimizely:
- Login to your Optimizely account.
- Click Profile on the bottom left hand corner of the navigation tree.
- Select the API Access tab.
- Click Generate New Token.
- In the pop-up dialog, provide a meaningful name (e.g. Relyance Scan) and click Create.
- Copy the newly generated Access Token to be used in Relyance.

In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings Menu in the bottom left-hand side.
- Select Integrations.
- Click on the Vendor Integration tab.
- Find the Optimizely integration card and click it to open its connections.
- Under Authentication Method, choose Custom.
- Paste the Access Token into its respective field.

The Authentication step asks for:
- Access Token: required; held as a secret.
- Click Authenticate.
- At this point, you should see the following result on the Vendor Integrations page:

- Congratulations, you are now connected to Optimizely.
Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. 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.
resource "relyance_integration_connection" "optimizely" {
vendor = "optimizely"
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 = {
access_token = var.optimizely_access_token
}
secrets_wo_version = 1
}
scans = { "property-inspection" = { enabled = true } }
}