
If you know what the customer's favorite brand is (for example, from a poll), you can adjust the recommendations to include that brand more often.

This can be done by using **recommendation boosting** to promote items from that brand. Boosting rules are built using the same editor as the filters, but unlike filtering, boosting does not entirely exclude items that do not meet the conditions - it only tells the AI model to assign more weight to the `brand` parameter when calculating the final recommendation score (relevance to a particular customer) of an item.  

This article explains how to build a filter that matches the item's brand (item attribute) with the customer's favorite brand (customer profile attribute). You can use the mechanism for different attributes that you collect in customer's profiles, such as size, favorite color, favorite style, and so on.

## Prerequisites
---
- **Recommended**: Become familiar with [creating recommendations](/docs/ai-hub/recommendations-v2/creating-recommendation-campaign).  
    This article does not explain every step of creating a recommendation in detail.
- The item catalog must include an attribute that denotes the brand.
- The customer profile must include an attribute that denotes the customer's favorite brand.  
    In this example, the attribute is called `favoriteBrand`.

## Creating the recommendation
---
### Choose source, type, and add slots

1. Go to <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/ai-hub-icon.svg" alt="Image presents the AI Hub icon" class="icon"> **AI Hub > (AI Recommendations) Models > Add recommendation**.
2. In the **Type & Items feed** section:
    1. Select an item catalog.
    2. Select a recommendation type.
        
       <div class="admonition admonition-tip"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" /></svg></div><div class="admonition-body"><div class="admonition-content">

       Boosting can be used with all recommendation types.

       </div></div></div>

    3. Click **Apply**.
3. In the **Items** section, configure at least one slot and click **Apply**.

### Build the boosting rule

In this part of the process, you build a rule that promotes an item if its brand matches the `favoriteBrand` attribute in the customer's profile.

1. In the **Boosting** section, click **Define**.
2. Click **Add rule**.
3. Click **Define rule** and select **Visual Builder**.  
    **Result** The Visual Builder window opens.
4. From the **Select attribute** drop-down list, select the brand attribute.  
    You can use the search field.
5. From the **Operator** drop-down list, select **Equals**.
6. Click the value type icon (<img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/value-icon.png" alt="Value icon" class="icon">) a few times until it changes to the customer value icon (<img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/customer-attribute-icon.png" alt="Customer attribute icon" class="icon">).
7. From the **Select value** drop-down list, select **favoriteBrand**.
8. Click **Apply**.
9. In the **Promote/Demote** selector, select **Promote** (default value).
12. Use the slider to adjust how much you want the rule to affect the results.
    <figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/boost-promo-slider.png" class="large" alt="Screenshot of the boosting strength slider"><figcaption>The boosting strength slider</figcaption></figure>
13. Save the **Boosting** section settings by clicking **Apply**.  
    
   <div class="admonition admonition-tip"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" /></svg></div><div class="admonition-body"><div class="admonition-content">

   After applying the settings, you can use the **Preview** tab (available in the upper left part of the recommendation creator screen) to see how your rule changed the recommendation result. If necessary, you can return to the settings and adjust the boosting strength to meet your expectations.

   </div></div></div>


<figure><img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/boost-favorite-brand.png" class="large" alt="Screenshot of the Visual Builder: a boosting filter that matches the customer's favorite brand"><figcaption>A boosting filter that matches the customer's favorite brand</figcaption></figure>

### Additional settings and saving

1. Configure the **Additional settings** section and click **Apply**.
2. Save the recommendation.

## What's next
---
You can use the ID of the recommendation and [inject it with a snippet](/docs/assets/snippets) in other types of communication, such as:
- [dynamic content](/docs/campaign/dynamiccontent) - this way you can show the recommendations on your website.
- [email](/docs/campaign/e-mail) - this way you can send out recommended items through emails.
- mobile application - you can use [documents](/docs/assets/documents) to build your own mobile app and show the recommended items.
- [mobile push](/docs/campaign/Mobile) - you can send recommendations through notifications in your mobile application.
- [web push](/docs/campaign/Webpush) - this way you can send notifications to your customers through a web browser.
- [SMS](/docs/campaign/SMS) - this way you can reach your customers with recommendations on their mobile.

## Read more
---
- [Predictions](/docs/ai-hub/predictions)
- [Recommendations](/docs/ai-hub/recommendations-v2)