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

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Getting Started

> Set up your wallet, connect it to Stellar, add tokens, and manage liquidity on Soroswap to begin using the platform.

## <sup>What do you need?</sup>

* A **wallet compatible with Stellar/Soroban**
* Access to the [Soroswap app](https://app.soroswap.finance)
* Make your first **token swap** using the AMM
* To try the **Aggregator** it automatically finds the best price across multiple liquidity pools

#### 🔐 Supported Wallets

Thanks to the `stellar-wallets-kit` library, Soroswap Finance supports:

* [**Freighter**](https://www.freighter.app/)
* [**xBull** ](https://xbull.app/)
* [**Albedo**](https://albedo.link/)
* [**Rabet**](https://rabet.io/download)
* [**Lobstr**](https://lobstr.co/)
* [**Hana Wallet**](https://www.hanawallet.io/)
* [**Hot Wallet**](https://hot-labs.org/)

The app automatically detects your available wallets and shows a simple UI to select and connect one. No extra configuration is needed.

#### 🔄 How to connect?

1. Go to [app.soroswap.finance](https://app.soroswap.finance)
2. Click **“**[**Connect Wallet**](https://docs.soroswap.finance/getting-started/wallet-setup.md)**”**
3. Choose your preferred wallet (e.g., Freighter or **Lobstr**)
4. Approve the connection
5. Done! You’re ready to start swapping or providing liquidity


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.