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

# Leaf Documentation

> Access clean, standardized, and aggregated farm data from all major agricultural sources.

<div className="min-h-screen">
  <div className="max-w-6xl mx-auto px-6 pt-28 pb-20">
    <div className="grid grid-cols-1 md:grid-cols-2 gap-16 items-center">
      <div className="space-y-6">
        <h1 className="text-4xl sm:text-5xl font-bold tracking-tight text-zinc-900 dark:text-white leading-tight">
          The AI-native API for farm data
        </h1>

        <p className="text-lg text-zinc-600 dark:text-zinc-400 leading-relaxed max-w-lg">
          Leaf’s API delivers clean, analysis-ready farm data for people and agents, including boundaries, operations, imagery, and weather from every major agricultural system.
        </p>

        <div className="flex flex-wrap gap-4 pt-4">
          <a href="/getting-started/quickstart" className="inline-flex items-center px-6 py-3 rounded-lg bg-[#00886b] hover:bg-[#007a60] text-white font-semibold text-sm transition-colors shadow-md">
            Get started
          </a>

          <a href="/api-reference/users" className="inline-flex items-center px-6 py-3 rounded-lg border border-zinc-300 dark:border-zinc-600 text-zinc-800 dark:text-zinc-200 font-semibold text-sm hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors">
            API Reference
          </a>
        </div>
      </div>

      <div className="hidden md:block">
        <div className="rounded-2xl overflow-hidden">
          <img src="https://leaf.imgix.net/img/machines-home.png?auto=format&dpr=2&w=800" alt="Leaf crop monitoring satellite imagery" className="w-full h-auto" noZoom />
        </div>
      </div>
    </div>
  </div>

  <div className="border-t border-zinc-200 dark:border-zinc-800 bg-white/60 dark:bg-zinc-900/40 backdrop-blur-sm">
    <div className="max-w-6xl mx-auto px-6 py-20">
      <div className="mb-10">
        <h2 className="text-2xl font-bold text-zinc-900 dark:text-white">
          Learn the platform
        </h2>

        <p className="mt-2 text-zinc-600 dark:text-zinc-400 max-w-2xl">
          Get up to speed with Leaf's core concepts, authentication flow, and data model
          before you start building.
        </p>
      </div>

      <Columns cols={3}>
        <Card title="Authentication" icon="key" href="/getting-started/authentication">
          Get your Leaf token and start making API calls with Bearer auth.
        </Card>

        <Card title="Quickstart guide" icon="rocket" href="/getting-started/quickstart">
          Walk through a step-by-step tutorial with cURL, Python, and JavaScript examples.
        </Card>

        <Card title="Glossary" icon="book" href="/resources/glossary">
          Look up terms like Leaf User, Provider, Field Operations, and more.
        </Card>
      </Columns>
    </div>
  </div>

  <div className="border-t border-zinc-200 dark:border-zinc-800">
    <div className="max-w-6xl mx-auto px-6 py-20">
      <div className="mb-10">
        <h2 className="text-2xl font-bold text-zinc-900 dark:text-white">
          Explore the API
        </h2>

        <p className="mt-2 text-zinc-600 dark:text-zinc-400 max-w-2xl">
          Leaf's API covers the full agricultural data lifecycle — from connecting provider
          accounts to retrieving satellite imagery.
        </p>
      </div>

      <Columns cols={3}>
        <Card title="Field boundaries" icon="draw-polygon" href="/fields/overview">
          Create, sync, and manage field boundaries across providers.
        </Card>

        <Card title="Machine operations" icon="tractor" href="/machine-data/overview">
          Access planting, harvest, application, and tillage data from all major brands.
        </Card>

        <Card title="Weather" icon="cloud-sun" href="/api-reference/weather">
          Get daily and hourly forecasts and historical weather by field or coordinates.
        </Card>
      </Columns>

      <Columns cols={3}>
        <Card title="Provider integrations" icon="plug" href="/providers/overview">
          Connect John Deere, CNHi, CNHI FieldOps, Climate FieldView, Trimble, and more.
        </Card>

        <Card title="Webhooks and alerts" icon="bell" href="/alerts/overview">
          Get notified in real time when new data arrives.
        </Card>

        <Card title="Leaf Lake" icon="database" href="/leaf-lake/overview">
          Analyze normalized farm data across space and time with SQL.
        </Card>
      </Columns>
    </div>
  </div>
</div>
