> ## Documentation Index
> Fetch the complete documentation index at: https://docs.garden.finance/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

<CardGroup cols={2}>
  <Card title="API" icon="webhook" href="/developers/api/overview">
    You control the full flow.
  </Card>

  <Card title="SDK" icon="code" href="/developers/sdk/overview">
    Most of the integration is already handled for you.
  </Card>
</CardGroup>

***

## 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

<Tabs>
  <Tab title="API">
    <Steps>
      <Step title="Get a quote">
        `GET /quote` returns a valid quote for your chosen route.
      </Step>

      <Step title="Create an order">
        `POST /orders` returns an order with an ID. Status is `Created`.
      </Step>

      <Step title="Initiate swap">
        Once matched, interact with the contract on the source chain to initiate
        the swap.
      </Step>

      <Step title="See the full swap flow">
        Poll `GET /orders/{id}` until the order reaches `Completed` state.
      </Step>
    </Steps>

    Follow the [API Quickstart](/api-reference/quickstart) for the full walkthrough.
  </Tab>

  <Tab title="SDK">
    <Steps>
      <Step title="Get a quote">
        Call `getQuote()` and get back a valid quote with send amount, receive
        amount, and fee.
      </Step>

      <Step title="Execute the swap">
        Call `swap()` — the SDK handles order creation, fund submission, and
        settlement automatically.
      </Step>

      <Step title="See the full swap flow">
        Order moves through its states and reaches `Completed`. Funds arrive on the
        destination chain.
      </Step>
    </Steps>

    Follow the [React](/developers/sdk/react/quickstart) or
    [Node.js](/developers/sdk/nodejs/quickstart) quickstart for the full walkthrough.
  </Tab>
</Tabs>

***

## Next steps

<CardGroup cols={2}>
  <Card title="Order Lifecycle" icon="arrows-spin" href="/developers/core/order-lifecycle">
    Every order status and what it means. Read this before building your UI states.
  </Card>

  <Card title="Contracts" icon="file-contract" href="/contracts/overview">
    HTLC contract details for each supported chain.
  </Card>

  <Card title="Supported Chains & Assets" icon="link" href="/developers/supported-chains">
    All supported routes and chain identifiers.
  </Card>

  <Card title="Affiliate Fees" icon="circle-dollar-to-slot" href="/developers/affiliate-fees">
    Earn revenue from swaps through your integration.
  </Card>
</CardGroup>
