> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yield.xyz/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.md). For exact request and response schemas, see the [API reference](/api-reference/getting-started.md).

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

## AI & Agents

> **[AI guides](/guides/ai/index.md)**
>
> Connect an editor or agent to Yield.xyz, generate integration code, and write reviewable prompts.

## Earn

> **[Discover yields](/guides/earn/discover-yields.md)**
>
> Filter and page through your project's enabled yields.

> **[Enter and exit flows](/guides/earn/enter-exit-flows.md)**
>
> Build, sign, and submit a deposit or withdrawal.

> **[Tracking balances](/guides/earn/tracking-balances.md)**
>
> Read positions, balance types, and pending actions.

> **[Monitoring and alerting](/guides/earn/monitoring-alerting.md)**
>
> Poll actions and transactions through to a terminal state.

> **[Lending](/guides/earn/defi/lending.md)**
>
> Supply an asset to a lending market and withdraw it.

> **[Vaults](/guides/earn/defi/vaults.md)**
>
> Deposit into a third-party vault, including a queued exit.

> **[Deposit and redeem RWAs](/guides/earn/rwas/deposit-redeem.md)**
>
> Check eligibility, enter a real-world-asset yield, and redeem it.

> **[Stake a token](/guides/earn/staking/stake.md)**
>
> Stake, including validator selection, then exit and withdraw.

## Borrow

> **[Borrow API](/guides/borrow/index.md)**
>
> Supply collateral, borrow, repay and withdraw through the Borrow API.

> **[Borrow widget](/guides/borrow/widget.md)**
>
> Turn on the Borrow tab in the Yield.xyz widget.

## Widgets & UI

> **[Yield widget](/guides/widgets-dashboard/yield-widget.md)**
>
> Embed a complete Earn interface with `@stakekit/widget`.

> **[Widget Pro](/guides/widgets-dashboard/yield-dashboard.md)**
>
> The dashboard layout of the widget, with Borrow, Manage and Activity.

> **[Perps widget](/guides/widgets-dashboard/perps-widget.md)**
>
> Run, deploy and embed a compact perps trading module.

> **[Perps dashboard](/guides/widgets-dashboard/perps-dashboard.md)**
>
> Run and deploy a full desktop trading terminal.

## More guides

* [Dashboards](/guides/dashboards/fees-payouts.md): fees and payouts, webhooks, SSO and team roles in the dashboard.
* [Transaction signing](/guides/transaction-signing/index.md): sign and submit returned transactions on each chain family, including from a custody or HSM signer.
* [Embedded wallets](/guides/integrations/index.md): build on Yield.xyz with Turnkey, Dynamic, Portal, Crossmint or Sequence.
* [Perps](/guides/perps/index.md): open and manage a perps position through the Perps API.
* [Legacy and migration](/guides/legacy-migration/api-migration-guide.md): moving an existing integration to the current API.


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