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

# API Key

An API key is required to authenticate your requests to the Business API. Follow these steps to obtain and use your key.

## Get your API key

<Steps>
  <Step title="Purchase credits">
    First, purchase credits via the [Pricing page](/business-api/pricing).
  </Step>

  <Step title="Receive your API key">
    After your purchase is confirmed, you will receive an email containing your unique API key.

    <Note>
      Your API key is generated and sent manually. Please allow up to a few business days for delivery.
      If you haven't received your key after this period, please contact us at [business@mrcook.app](mailto:business@mrcook.app).
    </Note>
  </Step>

  <Step title="Use your API key">
    Include your API key in your requests to start using the Business API.
  </Step>
</Steps>

## How to use your API key

Each request to the Business API must include your API key in the `x-api-key` HTTP header.
Refer to the examples in the [API Reference](/business-api/generate-recipe) for implementation details.

<Warning>
  **Protect your API key.** It grants access to your purchased credits and should be treated like a password. Never expose it in client-side code or share it publicly.

  If you suspect your API key has been compromised, contact us immediately at [business@mrcook.app](mailto:business@mrcook.app) to have it revoked and reissued.
</Warning>
