> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkoutrules.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> This quickstart will guide you through creating a sample rule, demonstrating how it works, and how it can be used to customize your Shopify checkout.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/I0eWckqOIEM?si=70E1bOujpB-txDtd" title="BeSure Quickstart" style={{ border: 0 }} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## Create a sample rule

To create a rule, navigate to *BSure Checkout Rules → Rules → click "Create Rule"*.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/quickstart/create-checkout-rule.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=555e7175ca4b9c735a77a175d0687c20" alt="Create Checkout Rule" width="1436" height="581" data-path="images/quickstart/create-checkout-rule.webp" />

You’ll then be redirected to the **Select checkout rule type** screen. Choose a category (Shipping, Payment, Validation, or Discount) → select checkout rule type (e.g., Reorder Shipping Methods) → click “Select Rule”.

<Warning>
  Here we are selecting *Reorder Shipping Methods* as the checkout rule type for
  demo purpose.
</Warning>

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/quickstart/create-checkout-rule-2.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=c5279f5bd430d0218424f75e7643a485" alt="Create Checkout Rule 2" width="958" height="610" data-path="images/quickstart/create-checkout-rule-2.webp" />

Then, a **template selection** popup will appear. Choose an option based on your
requirements. In most cases, you can choose the empty rule as a starting point and
modify it to your needs. Even if you choose a prefilled template, you will be able
to modify it later.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/select-rule-template.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=1f1c6bdc441ee1495f0d28857193dbc5" alt="Select Rule Template" width="1211" height="733" data-path="images/shared/select-rule-template.webp" />

Next, you’ll land on the **Create new reorder shipping methods rule** screen, where you can configure your rule.

### Rule configuration

To configure the rule, first optionally we can add a name such as "Reorder Shipping Methods" to describe what it does. Then, select the status: Testing, Active, or Deactivated.

Here we are going to choose **Testing** status, so we can quickly test the rule without affecting the checkout for actual customers.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/rule-configure-1.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=d9f90a457156fd75ad9964e571504973" alt="Rule Configure 1" width="972" height="482" data-path="images/shared/rule-configure-1.webp" />

Next, on the same screen, select the relevant condition set, condition, and operation. As an example here we are going to choose the default condition set, then set the rule to always run, and select the operation to reorder the shipping methods from shipping prices highest to lowest.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/rule-configure-2.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=c5f29693666956d008357591b19d9afc" alt="Rule Configure 2" width="918" height="743" data-path="images/shared/rule-configure-2.webp" />

Finally, click the <b>Save</b> button at the top to create and save your rule.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/save-rule.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=49b09a4f049059fd67144f92d10233ca" alt="Rule Save" width="713" height="184" data-path="images/shared/save-rule.webp" />

## Test the rule

Since, the rule is set to testing status, we have to use `test@testing.com` as the email, instead of the actual email, to run the rule at checkout.

<Warning>
  The image below shows the checkout page <b>before</b> the testing email
  address was used. Please note the order of the shipping methods.
</Warning>

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/before-rule-apply.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=8d05c111b0e61c3691044105febadaf0" alt="Before Rule Apply" width="1031" height="669" data-path="images/shared/before-rule-apply.webp" />

After using the testing email address, the checkout rule runs and you'll see the shipping methods are reordered. We can verify the most expensive shipping method is now at the top, as shown below.

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/after-rule-apply.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=04cfc4f636331edb186daeea54fd6280" alt="After Rule Apply" width="1043" height="650" data-path="images/shared/after-rule-apply.webp" />

## Activate the rule

Once testing is done, we can activate the rule, so it can start making changes to the checkout for actual customers. Only activated rules can make changes to the checkout for all customers.

Click on **Rules** in the sidebar to view all rules. Select the rule you want to activate, then click the **Activate** button to activate it.

<Warning>
  Rule activation is only available on paid plans. If you haven't upgraded your
  plan yet, follow the instructions
  [here](/guides/en/get-started/installation#upgrade-your-plan) to upgrade.
</Warning>

<img src="https://mintcdn.com/storespark/ZoBcc0QT_aT_tX8T/images/shared/activate-the-rule.webp?fit=max&auto=format&n=ZoBcc0QT_aT_tX8T&q=85&s=2880dbcf99c0bbd3b546973e0917a3c6" alt="Activate The Rule" width="983" height="175" data-path="images/shared/activate-the-rule.webp" />

Similarly, you can create multiple rules based on your requirements by following the process described above.
