> ## Documentation Index
> Fetch the complete documentation index at: https://docs.juncta.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Swap Tokens on Juncta

> Learn how to swap tokens on Juncta.

export const urls = (() => {
  const base = "https://app.juncta.xyz";
  return {
    dashboard: base,
    provideLiquidity: `${base}/liquidity/provide`,
    borrow: `${base}/borrow`,
    portfolio: `${base}/portfolio`,
    swap: `${base}/swap`,
    faucet: `${base}/faucet`
  };
})();

If you find yourself in a position where you lack one or both of the tokens required to add liquidity to a pool, you can use the token swap feature on Juncta to acquire the necessary tokens directly within the platform.

## How to Swap Tokens

1. Navigate to the **<a href={urls.swap} target="_blank">Swap tab</a>** on the Juncta platform.

2. Select the token you want to swap from and the token you want to receive.

   <Frame>
     <img src="https://mintcdn.com/juncta/zLG9xhP0ASqGB8wP/images/swap/add-token-to-swap.png?fit=max&auto=format&n=zLG9xhP0ASqGB8wP&q=85&s=948282f8c9d3048d2be6eb8bc0e8251f" alt="Select tokens flow" style={{ borderRadius: "0.5rem" }} width="480" height="452" data-path="images/swap/add-token-to-swap.png" />
   </Frame>

3. Input the amount you want to swap and click the **Review Swap** button. The platform will automatically calculate the expected output. You will also see the estimated price impact and fees for the swap.

   <Frame>
     <img src="https://mintcdn.com/juncta/JiTjs35gfEpKucGf/images/swap/input-swap-amount.png?fit=max&auto=format&n=JiTjs35gfEpKucGf&q=85&s=a5b9699bc5fd91a238e22b736a5e9a7b" alt="Input swap amount flow" style={{ borderRadius: "0.5rem" }} width="630" height="769" data-path="images/swap/input-swap-amount.png" />
   </Frame>

4. Review the swap route. The system displays the route your swap will take before you confirm. Depending on available liquidity, your swap may be routed through up to 3 intermediate steps (hops) to get you the best possible outcome.

   You will get 30 seconds to review the swap details before the quote expires. If the quote expires, you can simply refresh the quote to get an updated price and route.

   <Frame>
     <img src="https://mintcdn.com/juncta/JiTjs35gfEpKucGf/images/swap/swap-route.png?fit=max&auto=format&n=JiTjs35gfEpKucGf&q=85&s=f86e85c0defb872eba7d68c938a75293" alt="Swap route flow" style={{ borderRadius: "0.5rem" }} width="1920" height="1428" data-path="images/swap/swap-route.png" />
   </Frame>

5. Once you're satisfied with the details, confirm the swap to proceed.

{/* - Routing is handled automatically — you don't need to select or manage the path manually. */}
