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

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

## AI & Agents

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

## Earn

> [card] [Discover yields](https://docs.yield.xyz/guides/earn/discover-yields.md)
>
> Filter and page through your project's enabled yields.

> [card] [Enter and exit flows](https://docs.yield.xyz/guides/earn/enter-exit-flows.md)
>
> Build, sign, and submit a deposit or withdrawal.

> [card] [Tracking balances](https://docs.yield.xyz/guides/earn/tracking-balances.md)
>
> Read positions, balance types, and pending actions.

> [card] [Monitoring and alerting](https://docs.yield.xyz/guides/earn/monitoring-alerting.md)
>
> Poll actions and transactions through to a terminal state.

> [card] [Lending](https://docs.yield.xyz/guides/earn/defi/lending.md)
>
> Supply an asset to a lending market and withdraw it.

> [card] [Vaults](https://docs.yield.xyz/guides/earn/defi/vaults.md)
>
> Deposit into a third-party vault, including a queued exit.

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

> [card] [Stake a token](https://docs.yield.xyz/guides/earn/staking/stake.md)
>
> Stake, including validator selection, then exit and withdraw.

## Borrow

> [card] [Borrow API](https://docs.yield.xyz/guides/borrow/index.md)
>
> Supply collateral, borrow, repay and withdraw through the Borrow API.

> [card] [Borrow widget](https://docs.yield.xyz/guides/borrow/widget.md)
>
> Turn on the Borrow tab in the Yield.xyz widget.

## Widgets & UI

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

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

> [card] [Perps widget](https://docs.yield.xyz/guides/widgets-dashboard/perps-widget.md)
>
> Run, deploy and embed a compact perps trading module.

> [card] [Perps dashboard](https://docs.yield.xyz/guides/widgets-dashboard/perps-dashboard.md)
>
> Run and deploy a full desktop trading terminal.

## Integrations

> [card] [Zama API](https://docs.yield.xyz/guides/zama/index.md)
>
> Encrypt amounts, deposit into Zama confidential vaults and withdraw through the Earn API.

> [card] [Zama widget](https://docs.yield.xyz/guides/zama/widget.md)
>
> Offer Zama confidential vaults in the Yield.xyz widget.

## More guides

* [Dashboards](https://docs.yield.xyz/guides/dashboards/fees-payouts.md): fees and payouts, webhooks, SSO and team roles in the dashboard.
* [Transaction signing](https://docs.yield.xyz/guides/transaction-signing/index.md): sign and submit returned transactions on each chain family, including from a custody or HSM signer.
* [Embedded wallets](https://docs.yield.xyz/guides/integrations/index.md): build on Yield.xyz with Turnkey, Dynamic, Portal, Crossmint or Sequence.
* [Perps](https://docs.yield.xyz/guides/perps/index.md): open and manage a perps position through the Perps API.
* [Legacy and migration](https://docs.yield.xyz/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.