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

# Integration Guides

> Recipes for common integration scenarios: aggregators, wallets, program-to-program CPI, routing, and performance tuning.

## Who this chapter is for

Teams building *on top of* Raydium — aggregators, wallets, custom trading programs, bots. If you are a Raydium end user, go to [User Flows](/user-flows) instead.

## Chapter contents

<CardGroup cols={2}>
  <Card title="Aggregator integration" icon="layer-group" href="/integration-guides/aggregator">
    How aggregators fetch Raydium pool state, quote swaps, and construct cross-DEX routes.
  </Card>

  <Card title="Wallet integration" icon="wallet" href="/integration-guides/wallet-integration">
    What a wallet needs to display Raydium positions, farms, and transaction simulations correctly.
  </Card>

  <Card title="CPI from a custom program" icon="cube" href="/integration-guides/cpi-integration">
    Invoking Raydium programs from your own Solana program — account lists, signer seeds, error propagation, common mistakes.
  </Card>

  <Card title="Routing and MEV" icon="route" href="/integration-guides/routing-and-mev">
    Split routing across AMM/CLMM, Jito bundles, sandwich-resistance patterns, MEV-share considerations.
  </Card>

  <Card title="Priority fees and compute budget" icon="gauge" href="/integration-guides/priority-fee-tuning">
    How to size compute-unit requests and priority fees for each Raydium instruction; tuning under mainnet congestion.
  </Card>
</CardGroup>

## Writing brief

* Every guide starts with "this is the problem" (e.g., "my swap transactions fail under load") and ends with a validated recipe.
* Include benchmarks where meaningful (e.g., typical CU usage for a CPMM swap vs. a CLMM swap).
* Link into SDK & API for the underlying primitives; don't redefine them.
