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

# Introduction to Examples

> Explore practical code examples and integration patterns for common Busha use cases.

Welcome to the Busha Examples section. Here you'll find **production-ready code snippets** for the most common integration patterns. Each example is designed to be copied and adapted to your use case.

<Tip>
  **What You'll Achieve:**

  * Get working code examples you can copy and use immediately in your application
  * See complete end-to-end implementations with real API requests and responses
  * Learn best practices through practical, production-ready patterns
  * Quickly integrate Busha features without reading through lengthy documentation
</Tip>

## Prerequisites

Before using these examples, ensure you have:

* A Busha Business Account ([Sign up here](https://dash.busha.io/business/signup))
* [API Keys (Secret and Public) from your dashboard](/guides/getting-started/generate-api-key)

## How to Use These Examples

1. **Copy the code** - Each example is complete and ready to use
2. **Replace credentials** - Update `YOUR_SECRET_KEY`, `YOUR_BASE_URL`, etc. with your actual values
3. **Test in sandbox** - Always test in the sandbox environment first
4. **Adapt to your needs** - Modify parameters to fit your specific use case
5. **Read the guides** - Each example links to detailed guides for deeper understanding

## Quick Links

<CardGroup cols={2}>
  <Card title="Fiat to Crypto" icon="arrow-right" href="/examples/fiat-to-crypto">
    Convert NGN/KES to USDT, BTC, and other cryptocurrencies
  </Card>

  <Card title="Crypto to Fiat" icon="arrow-left" href="/examples/crypto-to-fiat">
    Cash out crypto to bank accounts or mobile money
  </Card>

  <Card title="On-Ramp Widget" icon="arrow-up-right-from-square" href="/examples/on-ramp-integration">
    Let customers buy crypto directly in your app
  </Card>

  <Card title="Payment Links" icon="link" href="/examples/payment-links">
    Create shareable payment links for invoices and products
  </Card>
</CardGroup>

## Need More Help?

* **Detailed Guides:** Check our [Guides section](/guides) for step-by-step tutorials
* **API Reference:** See the [API Reference](/api-reference) for complete endpoint documentation
* **Support:** Contact us at [developers@busha.co](mailto:developers@busha.co)

<Note>
  All examples use sandbox URLs and test data. Remember to switch to production
  URLs and real API keys when going live.
</Note>
