SDK reference
SDK reference
The atune package — install, capture, identify, and query understanding.
The atune package is the whole client surface. Install it like any dependency;
understanding comes back through a queryable API.
npm install atune
# or wire a live Next.js app in one step:
npx atune initEnvironment
| Variable | What |
|---|---|
ATUNE_API_KEY | Your workspace key. The only secret. Server-side only — never ship it to the browser. |
ATUNE_URL | Your Atune host. Defaults to https://useatune.com. |