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

# LogMeal

> Analyze food images with AI

LogMeal uses advanced AI to identify and analyze food in images, providing detailed nutritional information.

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a LogMeal account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your LogMeal API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit LogMeal Website">
    Go to [logmeal.com/](https://logmeal.com/) and click "Sign Up" in the top right corner

    <img src="https://mintcdn.com/create/dPp8LRxEG75nRlMj/images/logmeal/homepage.png?fit=max&auto=format&n=dPp8LRxEG75nRlMj&q=85&s=cfa61ca0692cfebfeb9f14642e847c7a" style={{ borderRadius: '0.5rem' }} width="2542" height="1468" data-path="images/logmeal/homepage.png" />
  </Step>

  <Step title="Choose Signup Method">
    * Sign up with email/password
    * Or continue with Google authentication

    <img src="https://mintcdn.com/create/dPp8LRxEG75nRlMj/images/logmeal/signin.png?fit=max&auto=format&n=dPp8LRxEG75nRlMj&q=85&s=26ca2f570a7069562334db253b47dd9e" style={{ borderRadius: '0.5rem' }} width="1760" height="1362" data-path="images/logmeal/signin.png" />
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access API Settings">
    1. Click on your profile in the top right
    2. Select "API Access" from the menu

    <img src="https://mintcdn.com/create/dPp8LRxEG75nRlMj/images/logmeal/apigen.png?fit=max&auto=format&n=dPp8LRxEG75nRlMj&q=85&s=c12e389c8d68615db36c6f8fecfe403e" style={{ borderRadius: '0.5rem' }} width="2308" height="1294" data-path="images/logmeal/apigen.png" />
  </Step>

  <Step title="Copy Your Key">
    1. Copy the generated API key
    2. Store it securely - you won't be able to see it again

    <Warning>
      Keep your API key secure - it grants access to your paid credits
    </Warning>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "LogMeal" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your API key into the "LOGMEAL\_API\_KEY" field

    <Tip>
      Need a new key? Generate one in your LogMeal dashboard.
    </Tip>
  </Step>

  <Step title="Start analyzing">
    You can now use prompts with the integration to analyze food images.

    Example prompts:

    * `Analyze this food photo with /LogMeal`
    * `Get nutritional information for this meal using /LogMeal`
    * `Create a food diary that uses /LogMeal for image analysis`

    <Warning>
      Each API call uses one credit. If your app analyzes the same images often, ask the agent to save the results locally so it doesn't re-fetch every time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /LogMeal, save the analysis results so my app doesn't have to fetch it again
    ```
  </Step>
</Steps>

<Tip>
  Your LogMeal integration is ready! Use `/LogMeal` in chat to analyze food images.
</Tip>
