# 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="/files/vYhrejcGvbkqaXitvh2H" alt=""><figcaption></figcaption></figure>

2. Click **Add Account** button

<figure><img src="/files/g30TlGNGYyXyYn0zM1Sz" alt=""><figcaption></figcaption></figure>

3. Enter your account email and password

<figure><img src="/files/3NMBX6NAulf7k9k760vD" alt=""><figcaption></figcaption></figure>

### Lego Task Overview

### **Monitor Mode**

<figure><img src="/files/UzgppcwOksn60248qvVe" alt=""><figcaption></figcaption></figure>

### **Normal Mode**

<figure><img src="/files/9O1Zp3Kgvb6SlrfhfShH" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.stellaraio.com/stellar/retailers/lego.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
