> For the complete documentation index, see [llms.txt](https://dev.ada-anvil.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ada-anvil.io/quick-start-examples/delegation/delegate-pool-sh.md).

# Stake Pool (Bash & cURL)

Learn how to delegate to a Stake Pool using Bash, cURL, and the Anvil API.

{% @github-files/github-code-block url="<https://github.com/Cardano-Forge/anvil-api-examples/blob/main/documentation-references/delegate-pool.sh>" %}

{% hint style="success" %}
**Learn More**

For a step-by-step explanation, see the [Delegate to a Stake Pool Guide](/guides/delegations/delegate-to-a-pool.md).
{% endhint %}
