Skip to main content
OneCount
← Back to dashboard

AI Insights — Setup

The dashboard can show AI-generated summaries of your stocktake activity when configured.

Setup

  1. 1Get an OpenAI API key from platform.openai.com
  2. 2Add to .env.local:
    OPENAI_API_KEY=sk-...
  3. 3Restart the dev server: npm run dev
  4. 4For production: add OPENAI_API_KEY to your hosting provider's environment variables.

Where insights appear

  • OverviewLive session summary and anomaly detection
  • Session detailVariance explanation and entry breakdown summary
  • IntelligenceExecutive summary, risks, and recommended actions

Cost estimate

Uses gpt-4o-mini (~$0.01–0.02 per 1,000 insights). Insights are fetched on page load and can be refreshed manually.

Questions? Contact hello@onecount.ai