Quick Start
Get auralogs running in your app in under 2 minutes. You’ll install the SDK, initialize it with an ingest key, and send your first log.
1. Install the SDK
Section titled “1. Install the SDK”npm install auralog-sdkOr with yarn/pnpm:
yarn add auralog-sdk# orpnpm add auralog-sdk2. Initialize auralogs
Section titled “2. Initialize auralogs”Add these lines at the entry point of your application:
import { init, auralog } from "auralog-sdk";
init({ apiKey: "aura_your_ingest_key", environment: "production",});That’s it. auralogs is now capturing uncaught errors and unhandled promise rejections automatically.
3. Send a log
Section titled “3. Send a log”auralog.info("App started");
auralog.error("Payment failed", { userId: "usr_123", error: "card_declined",});Error-level logs are sent to auralogs immediately. Other levels are batched and sent every 5 seconds.
What happens next
Section titled “What happens next”- Logs are ingested — the SDK sends logs to
ingest.auralog.ai. - You can inspect them immediately — use the log viewer in the dashboard, or use the startup read key for API and MCP access.
- Your agent can query production context — connect Codex, Claude, Cursor, or another MCP client and ask it to search logs, inspect metadata, and summarize what changed.
- Automation is optional — add an AI provider key for generated analyses, notifications, scheduled reviews, or GitHub autofix.
Next: Your First Log — verify everything is connected.