Current Page

Current Page

Apr 28, 2024

Automatic installation

How do you connect OptimalUX to your website automatically?

You can connect OptimalUX to your website with one simple step. All you need to do is to provide API access to your Cloudflare account.


If your security settings prevent you from sharing your API key with a third-party app, you can still install the OptimalUX worker manually.

‍Note: Your website should be proxied through Cloudflare. Read more.

  1. ‍Log in to your CloudFlare Dashboard.

  2. Click on the domain you would like to run experiments on.

  3. In the “API” section at the bottom right corner, copy your Account ID and paste it into the corresponding field in your OptimalUX dashboard.


  4. Just below the Account ID, click on “Get your API token."

  5. Click on the “Create Token” button


  6. Scroll down to “Create Custom Token” option and click “Get Started”


  7. Give any name to your the token and add 2 permissions to modify:
    – [Zone] Worker Routes
    – [Account] Worker Scripts


  8. It is recommended to limit the token access to a specific “Account Resources” and “Zone Resources” (choose a domain you want to run experiments on)

  9. TTL should be left unspecified so the script could be automatically upgraded at any time

  10. Click on “Continue to Summary”. You should see something like this:


  11. Click on “Create Token»

  12. Copy the token and and paste it to the corresponding field in your OptimalUX dashboard.

  13. Follow the prompts to make sure OptimalUX agent is successfully installed and is ready to apply experiments!‍

200k free users on the house!

Jumpstart your A/B testing with 200k free users

We don't like giant flat rates! So we're giving you 200k free users each month. After that, only $1 for every 1000 unique visitors who participated in an A/B testing.

Stacey O.

Alex V.

Thomas P.

* Introductory pricing for the next 100 customers only!

200k free users on the house!

Jumpstart your
A/B testing with 200k free users

We don't like giant flat rates! So we're giving you 200k free users each month. After that, only $1 for every 1000 unique visitors who participated in an A/B testing.

* Introductory pricing for the next 100 customers only!

200k free users on the house!

Jumpstart your A/B testing with 200k free users

We don't like giant flat rates! So we're giving you 200k free users each month. After that, only $1 for every 1000 unique visitors who participated in an A/B testing.

Stacey O.

Alex V.

Thomas P.

* Introductory pricing for the next 100 customers only!

200k free users on the house!

Jumpstart your A/B testing with 200k free users

We don't like giant flat rates! So we're giving you 200k free users each month. After that, only $1 for every 1000 unique visitors who participated in an A/B testing.

Stacey O.

Alex V.

Thomas P.

* Introductory pricing for the next 100 customers only!