# Create an A/B Variant

*How to connect an A/B Variant:* [connect-an-a-b-variant](https://docs.optibase.io/connect-an-a-b-variant "mention")

To create an A/B Variant, name it and click "Create":

<figure><img src="https://2665225050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvnlQY2elcSlIpeLEpEAd%2Fuploads%2FXtIm97EKp3NDxTKjNChP%2Fabvariantshort.gif?alt=media&#x26;token=05976d03-f9de-4a11-8734-003fade8a3e1" alt=""><figcaption></figcaption></figure>

You should now connect this Variant to an element on your page. Read about how to do that here: [connect-an-a-b-variant](https://docs.optibase.io/connect-an-a-b-variant "mention")

You can also:

* Change the name of the Variant.
* Reset the Variant Conversion Events and Page Views.
* Delete the Variant.
* See variant results:
  * Page Views: How many times a variant was shown.
  * Conversions: How many conversion events were triggered while this variant was shown.
  * In the parenthesis, you will also see the conversion rate (conversion events / page views).
  * P2BB: [probability-to-be-best-p2bb](https://docs.optibase.io/features/tests/probability-to-be-best-p2bb "mention")
  * Click on the Variant to see a detailed breakdown of results for different Conversions.

*Note: If want to stop showing an A/B Variant to the users because it is underperforming, but don't want to delete it because you want to keep the data, you can simply disconnect it.*

## Main Variant

When you first create a Variant, it will be marked as "Main".

1. Select the Webflow Element you want to act as the Main Variant:
2. Click "Connect":

## Non-main Variant

After the Main Variant, you should create at least one more Variant. To connect the Non-main Variant:

1. Duplicate the exact Webflow Element that you previously connected in the Main variant:
2. Select the duplicated Webflow element:
3. Click "Connect" below:

The Variant you have selected in the Optibase App is the one currently visible in the Webflow Editor. You can edit it while it's visible.

*Note: The Variant that is last selected and visible when you publish your site is the one that will be visible by default on your site. This means that if a test is restricted or in Draft, this is the Variant that will be shown.*

*Note: If you want to stop showing an A/B Variant to the users because it is underperforming, but don't want to delete it because you want to keep the data, you can simply disconnect it.*
