# Lender (Pools)

> Markdown export of the Gearbox Protocol documentation page for agents and retrieval systems.

Canonical page: https://docs.gearbox.finance/developers/lending
Source file: content/developers/lending.mdx
Section router: https://docs.gearbox.finance/developers/llms.txt
Section full export: https://docs.gearbox.finance/developers/llms-full.txt

This section explains how to integrate programmatically with Gearbox pools.

## Overview

Lenders provide the pool's underlying asset and receive ERC-4626 pool shares. Interest paid by borrowers increases the amount of underlying represented by those shares over time.

## What's in This Section

| Page | Covers |
| --- | --- |
| [Pool Integration](https://docs.gearbox.finance/developers/pool-integration) | Deposit any pool underlying, withdraw it, check limits, and price pool shares |
| [Obtaining RWA Underlying](https://docs.gearbox.finance/developers/obtain-rwa-underlying) | Mint or redeem `DefaultRWAUnderlying` when it is the asset accepted by a pool |
