# Lego

<figure><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/LEGO_logo.svg/408px-LEGO_logo.svg.png" alt=""><figcaption></figcaption></figure>

### Preliminary Checklist

Before setting up tasks on Lego, make sure you have everything below prepared:

* **Profiles**

> Create and save your checkout [profiles](https://guides.stellaraio.com/stellar/navigating-stellaraio/what-is-the-profiles-tab/how-do-i-add-a-profile) under the **Profiles tab** in Stellar. These contain your billing, shipping and payment info.

* **Proxies**

> - High-quality **ISP** or **Residential** proxies are required.
> - Low-quality or flagged proxies will cause **Akamai-related errors.**
> - For reliable performance, consider using **Stella Proxies ISPs or Residentials.**
>   * If you're looking for proxies, check out [Stella Proxies](https://guides.stellaraio.com/stellar/getting-started-with-stellaraio/stella-proxies) for high quality ISP and Residential proxies.

* **Cook Group Access**

> Optional but recommended. Your [cook group](https://guides.stellaraio.com/stellar/getting-started-with-stellaraio/cook-groups) can help you find product URLs, SKUs and early restock alerts.

### Adding Accounts

To add your Lego accounts to Stellar please follow the step by step instructions below

1. In bot, navigate to **Sessions** tab > **Accounts** > Click on **Lego**

<figure><img src="https://1122101074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQL0BOlyqRRf7zyNKSf%2Fuploads%2F5ufPOZSZmwRIX8Q1BVoa%2FLego%20Acc.png?alt=media&#x26;token=3ff316ce-5819-44a2-b193-bb2b77fceb39" alt=""><figcaption></figcaption></figure>

2. Click **Add Account** button

<figure><img src="https://1122101074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQL0BOlyqRRf7zyNKSf%2Fuploads%2FXFI8r3AYxr66LAdIRGJV%2FAdd%20Account.png?alt=media&#x26;token=f1ce8dd9-f3d0-44b0-8e08-ca89cf447690" alt=""><figcaption></figcaption></figure>

3. Enter your account email and password

<figure><img src="https://1122101074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQL0BOlyqRRf7zyNKSf%2Fuploads%2FU1YmSQ1EfbGobmtsO9w2%2FAcc%20Setup.png?alt=media&#x26;token=4a8e60da-f95c-4915-a654-8bf566864670" alt=""><figcaption></figcaption></figure>

### Lego Task Overview

### **Monitor Mode**

<figure><img src="https://1122101074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQL0BOlyqRRf7zyNKSf%2Fuploads%2FHuPXkMfVAcxzu56tZkHl%2Fimage.png?alt=media&#x26;token=8bb91e39-18dd-4ee2-ba34-babd3e346180" alt=""><figcaption></figcaption></figure>

### **Normal Mode**

<figure><img src="https://1122101074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQL0BOlyqRRf7zyNKSf%2Fuploads%2F0mQ5dnS2a1dpDGS5eClG%2Fimage.png?alt=media&#x26;token=816915f2-df26-41c2-a653-5e8eec4aac5a" alt=""><figcaption></figcaption></figure>

* What **mode** do I use?
  * **Monitor mode** is used to check for product availability&#x20;
  * **Normal mode** uses guest checkout if you don't select an account. Works for all products that are loaded on the site <https://www.lego.com/>
* What does **Profile** mean?
  * Select a **Profile** you want to use and that profile information will be used when checking out items
* What type of **Proxies** should I use?
  * ISPs for monitoring and residentials for checkout tasks
* Where do I find **SKU**?
  * The **SKU** is unique for a product on Lego website. The SKU can usually be found at the end of the product URL
    * Ex. <https://www.lego.com/en-us/product/fighter-plane-chase-77012> the SKU for this product is `77012`
* Which **Region** should I select?
  * Select the region that applies to you
* What is **Size**?
  * Select the size(s) in shoes you'd like to purchase. There's also a **Random** option if you prefer any shoe size
* What **Delays** should I use?
  * Experiment around 2000 delays. This delay is the amount of time before the task retries after it encounters an error
* What **Monitor** **Delays** should I use?
  * Experiment around 2000-4000 delays. This delay is the amount of time your task will monitor for the product
* What is a good **QTY** to use?
  * A good default to use is 1, but if the listing on the site allows for multiple in one cart then feel free to increase the QTY
* What is **Watch Task?** box?
  * Using watch task will help your proxies encounter less proxy bans and less proxy errors overall. Using a watch task essentially means you want your task to rely on other sources to monitor, in this case your monitor mode task will ping the watch task when a restock has happened
    * If you check this box, your task will wait for a monitor mode task to ping it then it'll proceed to add item to cart and checkout
    * If this box is unchecked, your task will monitor the sku, add to cart and checkout
