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

# Guides

> Task walkthroughs for building with yield.xyz, grouped by what you're trying to do.

Each guide takes one task to a verifiable result. For what the product is and how it works, see [Documentation](/documentation/earn/index). For exact request and response schemas, see the [API reference](/api-reference/getting-started).

Building your first integration? Start with the [quickstart](/documentation/get-started/quickstart) rather than this section.

## AI & Agents

<Columns cols={2}>
  <Card title="AI guides" icon="sparkles" href="/guides/ai/index">
    Connect an editor or agent to yield.xyz, generate integration code, and write reviewable prompts.
  </Card>
</Columns>

## Earn

<Columns cols={2}>
  <Card title="Discover yields" icon="magnifying-glass" href="/guides/earn/discover-yields">
    Filter and page through your project's enabled yields.
  </Card>

  <Card title="Enter and exit flows" icon="arrow-right-arrow-left" href="/guides/earn/enter-exit-flows">
    Build, sign, and submit a deposit or withdrawal.
  </Card>

  <Card title="Tracking balances" icon="wallet" href="/guides/earn/tracking-balances">
    Read positions, balance types, and pending actions.
  </Card>

  <Card title="Monitoring and alerting" icon="chart-line" href="/guides/earn/monitoring-alerting">
    Poll actions and transactions through to a terminal state.
  </Card>

  <Card title="Recipes" icon="book" href="/guides/earn/recipes">
    Runnable examples for common flows.
  </Card>

  <Card title="Lending" icon="hand-holding-dollar" href="/guides/earn/defi/lending">
    Supply an asset to a lending market and withdraw it.
  </Card>

  <Card title="Vaults" icon="vault" href="/guides/earn/defi/vaults">
    Deposit into a third-party vault, including a queued exit.
  </Card>

  <Card title="Deposit and redeem RWAs" icon="landmark" href="/guides/earn/rwas/deposit-redeem">
    Check eligibility, enter a real-world-asset yield, and redeem it.
  </Card>

  <Card title="Stake a token" icon="coins" href="/guides/earn/staking/stake">
    Stake, including validator selection, then exit and withdraw.
  </Card>
</Columns>

## More guides

* [Yield widget](/guides/widgets-dashboard/yield-widget): embed the yield flow in your own UI.
* [Dashboards](/guides/dashboards/meta-vaults): request a Meta Vault, and set up fees and payouts.
* [Deeplink into the widget](/guides/widgets-dashboard/deeplinking): open a widget deployment on a specific yield or pending action.
* [Transaction signing](/guides/transaction-signing/index): sign and submit returned transactions on each chain family.
* [Embedded wallets](/guides/integrations/index): drive the same flow from an embedded or MPC wallet.
* [Enterprise](/guides/enterprise/webhooks): webhooks, SSO, team roles, programmatic access, and custody flows.
* [Borrow](/guides/borrow/index): supply collateral and borrow through the Borrow API.
* [Perps](/guides/perps/index): open and manage a perps position through the Perps API.
* [Legacy and migration](/guides/legacy-migration/api-migration-guide): moving an existing integration to the current API.


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