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

# Programmatic Integration

> Where to go for SDK, API, and direct RPC integration with a Kamino market

Curator markets expose the same on-chain primitives as every other Kamino market. Anything you can do with the public Kamino API or SDK against the main markets, you can do against your curator market by passing your market address.

This page is a routing index: it points to the existing developer documentation that covers each integration surface in depth.

## Building deposit / borrow / repay / withdraw transactions

For an app that lets users deposit, borrow, repay, or withdraw on your market:

<CardGroup cols={2}>
  <Card title="Borrow developer docs" icon="coins" href="/build/developers/borrow/index">
    Overview of operations, data, rewards, position management
  </Card>

  <Card title="Borrow tutorials" icon="graduation-cap" href="/build/tutorials/borrow/deposit-and-borrow">
    Step-by-step walkthroughs of common operations
  </Card>

  <Card title="Borrow API recipes" icon="flask" href="/build/recipes/borrow/deposit-via-api">
    REST-API-only patterns, no SDK
  </Card>

  <Card title="Borrow API reference" icon="book" href="/build/api-reference/borrow/market-data/markets-list">
    OpenAPI reference for every Borrow endpoint
  </Card>
</CardGroup>

Each of these works against any klend market — pass your market address as the `--market` parameter (CLI), the `marketPubkey` argument (SDK), or the `market` URL parameter (API).

## Reading market and reserve data

For dashboards, alerts, and read-only integrations:

<CardGroup cols={2}>
  <Card title="Read market data" icon="database" href="/curators/markets/market-data">
    The curator's view: API + SDK + RPC examples for market state
  </Card>

  <Card title="API reference (market data endpoints)" icon="book" href="/build/api-reference/borrow/market-data/markets-list">
    Full OpenAPI reference
  </Card>
</CardGroup>

## Earn / vault integration on top of your market

If a vault sits on top of your market and you want to integrate the vault layer:

<CardGroup cols={2}>
  <Card title="Earn developer docs" icon="chart-line" href="/build/developers/earn/index">
    Vault data and operations
  </Card>

  <Card title="Earn tutorials" icon="graduation-cap" href="/build/tutorials/earn/earn-and-withdraw">
    Vault deposit / withdraw walkthroughs
  </Card>
</CardGroup>

## Rewards and farms

For computing APYs, claiming rewards, building reward dashboards:

<CardGroup cols={2}>
  <Card title="Rewards tutorials" icon="gift" href="/build/tutorials/borrow/calculate-reserve-reward-apy">
    Calculate reserve reward APY, claim rewards
  </Card>

  <Card title="Rewards API reference" icon="book" href="/build/api-reference/borrow/rewards/rewards-list">
    REST endpoints for active rewards and user claimables
  </Card>

  <Card title="Farms & rewards (curator side)" icon="sprout" href="/curators/markets/farms-and-rewards">
    How a curator initializes and operates farms
  </Card>
</CardGroup>

## Curator-specific tooling

These surfaces are specific to curator workflows (separate from end-user app integrations):

<CardGroup cols={2}>
  <Card title="kamino-manager CLI" icon="terminal" href="/build/cli/index">
    All curator operations: create market, add reserves, update configs, propose multisig transactions
  </Card>

  <Card title="CLI command index" icon="list" href="/curators/markets/cli-command-index">
    Quick lookup of every market-related command
  </Card>
</CardGroup>

## Program-level integration

For a custom program (Anchor / native) that interacts with your market on-chain:

| Resource                                                            | Use for                                                         |
| ------------------------------------------------------------------- | --------------------------------------------------------------- |
| [klend repository](https://github.com/Kamino-Finance/klend)         | Program source, IDL, Rust types, error definitions              |
| [klend-sdk repository](https://github.com/Kamino-Finance/klend-sdk) | TypeScript bindings + helper utilities + the kamino-manager CLI |
| [KFarms repository](https://github.com/Kamino-Finance/kfarms)       | Farms program source                                            |
| [farms-sdk repository](https://github.com/Kamino-Finance/farms-sdk) | TypeScript bindings for farms                                   |
| [Program addresses](/build/resources/program-addresses)             | All Kamino program IDs (mainnet + staging + devnet)             |

## Reference

* [Read market data](/curators/markets/market-data) — read examples
* [CLI command index](/curators/markets/cli-command-index) — every market-related CLI command
* [Reserve config reference](/curators/markets/reserve-parameters) — every editable reserve field
* [Market config reference](/curators/markets/market-config-reference) — every editable market field
