> For the complete documentation index, see [llms.txt](https://flashmev-docs.gitbook.io/flashmev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flashmev-docs.gitbook.io/flashmev-docs/flashmev-guide/how-to-use-sandwich-bot.md).

# How to use: Sandwich Bot

## Getting Started with the Sandwich Bot

{% hint style="success" %}
After creating a wallet, **click the “Sandwich ETH” Button on the Home Menu to begin using the FlashMEV SandwichBot.**
{% endhint %}

<figure><img src="/files/8gy06I91lvDKyR2tRkHg" alt=""><figcaption></figcaption></figure>

## Configuring your Settings

{% hint style="info" %}
Before beginning to sandwich, you must first **select your chosen settings**. To do so, start by **clicking the “Sandwich Settings” Button** on the ETH Sandwich Menu.
{% endhint %}

<figure><img src="/files/1XxL1U0sMtvPgzfMBq6P" alt=""><figcaption></figcaption></figure>

**Next, select your chosen Max Attack Size in ETH by clicking the “+” and “-” Buttons.**&#x20;

Your Max Attack Size is the maximum amount of ETH that will be used for a trade should it be needed.

{% hint style="info" %}
FlashMEV will **auto detect how much ETH is needed to maximize profit on any given MEV opportunity**, meaning **only what is needed per trade will be used.**
{% endhint %}

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

## Enabling Attack Mode

Once you have **selected your chosen settings, you are ready to begin.**&#x20;

To activate your Bot, simply **click the “Attack Mode Active” Button.**&#x20;

<figure><img src="/files/taUYo7fmzc4Amc5c9q4X" alt=""><figcaption><p>Here attack mode is off.</p></figcaption></figure>

{% hint style="success" %}
**One Attack Mode is activated, the following will appear:**

&#x20;**(View Image Below)**
{% endhint %}

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

{% hint style="info" %}
**The “🚫” Emoji** indicates that your <mark style="color:red;">**bot is inactive**</mark>, while **the “✅” Emoji** indicates that your <mark style="color:green;">**bot is active.**</mark>
{% endhint %}

To deactivate your ETH Sandwich Bot, simply click the “Attack Mode Active” Button again.&#x20;

## Wait and Earn

Congratulations! Your Bot is ready to go. Simply wait for a notification when it has taken advantage of an MEV opportunity.&#x20;

**Consult the** [**Tips & Tricks**](/flashmev-docs/flashmev-guide/flashmev-tips-and-tricks.md) **Section** for advice on how to ensure maximal opportunity for your bot.

{% hint style="info" %}
**FlashMev will only take profitable trades.**&#x20;

Feel confident depositing funds knowing FlashMev's profitability algorithms keep your ETH intact.
{% endhint %}
