
import Onboarding from "../src/components/Onboarding";

# Get Started with Taxonic

Get your free Taxonic API key and start integrating automated subject classification into your applications. Access the Taxonic API and explore its classification capabilities with 200 free requests.

<div className="not-prose mx-auto mt-6 w-full max-w-xl">
  <Onboarding />
</div>

<div className="not-prose mx-auto mt-20 max-w-5xl">

  <div className="mb-10 text-center">
    <p className="!mb-2 !text-xs !font-semibold !uppercase !tracking-[0.18em] !text-muted-foreground">
      Developer Access
    </p>

    <h2 className="!m-0 !text-2xl !font-semibold !tracking-tight md:!text-3xl">
      Everything you need to build with Taxonic
    </h2>

    <p className="!mx-auto !mt-3 !max-w-2xl !text-sm !leading-6 !text-muted-foreground md:!text-base">
      Explore automated classification, test API requests, and integrate
      standardized subject codes into your applications.
    </p>

  </div>

  <div className="grid gap-4 sm:grid-cols-2">

    <div className="rounded-2xl border border-border bg-card p-6 shadow-sm">
      <div className="mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-sm font-semibold">
        01
      </div>

      <h3 className="!m-0 !text-base !font-semibold">
        200 free API requests
      </h3>

      <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
        Start exploring Taxonic without an upfront commitment. Test
        classification requests using your free trial allowance.
      </p>
    </div>

    <div className="rounded-2xl border border-border bg-card p-6 shadow-sm">
      <div className="mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-sm font-semibold">
        02
      </div>

      <h3 className="!m-0 !text-base !font-semibold">
        Personal API key
      </h3>

      <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
        Receive your unique Taxonic API key securely at your registered
        email address.
      </p>
    </div>

    <div className="rounded-2xl border border-border bg-card p-6 shadow-sm">
      <div className="mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-sm font-semibold">
        03
      </div>

      <h3 className="!m-0 !text-base !font-semibold">
        Global classification standards
      </h3>

      <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
        Classify content using established taxonomies, including LCSH,
        THEMA, and HECoS.
      </p>
    </div>

    <div className="rounded-2xl border border-border bg-card p-6 shadow-sm">
      <div className="mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-muted text-sm font-semibold">
        04
      </div>

      <h3 className="!m-0 !text-base !font-semibold">
        Easy API integration
      </h3>

      <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
        Integrate automated subject classification into publishing
        platforms, library systems, and educational applications.
      </p>
    </div>

  </div>

  <div className="mt-20">

    <div className="mb-8">
      <h2 className="!m-0 !text-2xl !font-semibold !tracking-tight">
        Getting started
      </h2>

      <p className="!mb-0 !mt-2 !text-sm !text-muted-foreground">
        Get your API key and make your first classification request in three simple steps.
      </p>
    </div>

    <div className="grid gap-4 md:grid-cols-3">

      <div className="relative rounded-2xl border border-border bg-card p-6">
        <span className="text-xs font-semibold text-muted-foreground">
          STEP 01
        </span>

        <h3 className="!mb-0 !mt-3 !text-base !font-semibold">
          Register your email
        </h3>

        <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
          Enter your email address above to request free access to the Taxonic API.
        </p>
      </div>

      <div className="relative rounded-2xl border border-border bg-card p-6">
        <span className="text-xs font-semibold text-muted-foreground">
          STEP 02
        </span>

        <h3 className="!mb-0 !mt-3 !text-base !font-semibold">
          Receive your API key
        </h3>

        <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
          Your unique API key will be delivered to your registered email address.
        </p>
      </div>

      <div className="relative rounded-2xl border border-border bg-card p-6">
        <span className="text-xs font-semibold text-muted-foreground">
          STEP 03
        </span>

        <h3 className="!mb-0 !mt-3 !text-base !font-semibold">
          Start classifying
        </h3>

        <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
          Use your API key to authenticate requests and explore Taxonic's classification endpoints.
        </p>
      </div>

    </div>

  </div>

  <div className="mt-16 rounded-2xl border border-border bg-muted/40 p-6 md:p-8">

    <div className="flex flex-col gap-5 md:flex-row md:items-start">

      <div className="flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-border bg-background text-sm font-semibold">
        !
      </div>

      <div>
        <h2 className="!m-0 !text-lg !font-semibold">
          Keep your API key secure
        </h2>

        <p className="!mb-0 !mt-2 !text-sm !leading-6 !text-muted-foreground">
          Your Taxonic API key provides access to your allocated API requests.
          Treat it like a password and keep it confidential.
        </p>

        <p className="!mb-0 !mt-3 !text-sm !leading-6 !text-muted-foreground">
          Avoid sharing your API key publicly, committing it to source control,
          or exposing it in client-side application code. Store it securely
          on your server.
        </p>
      </div>

    </div>

  </div>

  <div className="mt-16 overflow-hidden rounded-2xl border border-border bg-card">

    <div className="px-6 py-10 text-center md:px-10 md:py-12">

      <p className="!mb-2 !text-xs !font-semibold !uppercase !tracking-[0.18em] !text-muted-foreground">
        Ready to get started?
      </p>

      <h2 className="!m-0 !text-2xl !font-semibold !tracking-tight md:!text-3xl">
        Start building with Taxonic
      </h2>

      <p className="!mx-auto !mt-3 !max-w-xl !text-sm !leading-6 !text-muted-foreground">
        Put automated subject classification to work. Explore the API,
        test your requests, and integrate Taxonic into your workflow.
      </p>

      <div className="mt-7">
        <a
          href="/api-playground"
          className="group inline-flex items-center gap-2 rounded-xl bg-black px-5 py-2.5 text-sm font-semibold !text-white no-underline shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:bg-black/90 hover:shadow-lg dark:bg-white dark:!text-black dark:hover:bg-white/90"
        >
          Open API Playground

          <span className="transition-transform duration-200 group-hover:translate-x-1">
            →
          </span>
        </a>
      </div>

    </div>

  </div>

</div>
