> For the complete documentation index, see [llms.txt](https://docs.usdfi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usdfi.com/usdfi-amm/understanding-automated-market-makers/how-to-execute-a-token-swap.md).

# How-to execute a token swap

1\) Select the topens you want to swap

![](/files/ekFwglCRirDrdNeksZAz)

Clicking on a token icon enables you to browse a token list and search for tokens by name.&#x20;

![](/files/4Z0CNv8StJdqzhYCtCs1)

2\) After the token selection, enter an amount you would like to swap. You can enter either the desired input amount or output amount.

3\) In case your wallet is swapping the selected token for the first time on the USDFI protocol, you will be asked to approve the token.&#x20;

4\) Please review your swap and click "SWAP" to confirm
