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

# Developer Overview

> Add native Bitcoin swaps to your wallet, aggregator, or dApp

Garden lets you add Bitcoin swaps to any product. Pick your integration path below and
follow the quickstart — most integrators are up and running in under 30 minutes.

***

## Choose your integration path

> [card] [API](https://docs.garden.finance/docs/developers/api/overview.md)
>
> You control the full flow.

> [card] [SDK](https://docs.garden.finance/docs/developers/sdk/overview.md)
>
> Most of the integration is already handled for you.

***

## Before you start

* **App ID** — sign up on the [Integrator Portal](https://portal.garden.finance) to get your own production keys.
* **Testnet funds** — get testnet BTC from our [faucet](https://testnetbtc.com).

***

## Up and running in 30 minutes

> [tab] API
>
> **1. Get a quote**
>
> `GET /quote` returns a valid quote for your chosen route.
>
> **2. Create an order**
>
> `POST /orders` returns an order with an ID. Status is `Created`.
>
> **3. Initiate swap**
>
> Once matched, interact with the contract on the source chain to initiate
> the swap.
>
> **4. See the full swap flow**
>
> Poll `GET /orders/{id}` until the order reaches `Completed` state.
>
> Follow the [API Quickstart](https://docs.garden.finance/docs/api-reference/quickstart.md) for the full walkthrough.

> [tab] SDK
>
> **1. Get a quote**
>
> Call `getQuote()` and get back a valid quote with send amount, receive
> amount, and fee.
>
> **2. Execute the swap**
>
> Call `swap()` — the SDK handles order creation, fund submission, and
> settlement automatically.
>
> **3. See the full swap flow**
>
> Order moves through its states and reaches `Completed`. Funds arrive on the
> destination chain.
>
> Follow the [React](https://docs.garden.finance/docs/developers/sdk/react/quickstart.md) or
> [Node.js](https://docs.garden.finance/docs/developers/sdk/nodejs/quickstart.md) quickstart for the full walkthrough.

***

## Next steps

> [card] [Order Lifecycle](https://docs.garden.finance/docs/developers/core/order-lifecycle.md)
>
> Every order status and what it means. Read this before building your UI states.

> [card] [Contracts](https://docs.garden.finance/docs/contracts/overview.md)
>
> HTLC contract details for each supported chain.

> [card] [Supported Chains & Assets](https://docs.garden.finance/docs/developers/supported-chains.md)
>
> All supported routes and chain identifiers.

> [card] [Affiliate Fees](https://docs.garden.finance/docs/developers/affiliate-fees.md)
>
> Earn revenue from swaps through your integration.


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