1. Generate a project key
Open Project Settings → API Key and generate a key if needed.2. Pick your framework in settings
Go to Project Settings → App Logs and choose the closest setup tab:- Next.js
- React
- Node.js
- Edge Function
- Python
3. Initialize the SDK
Follow the setup card in this order:- install the package if the runtime needs one
- add the key to the correct env file or secret store
- initialize Aiola in the real app entrypoint
- optionally identify authenticated users with
setUser
4. Add route wrappers where needed
The current snippets and in-app guidance specifically call out:- wrapping Next.js route handlers
- wrapping Deno edge handlers
- adding source map upload for build-based JavaScript apps
5. Use Add to App if you want Aiola to wire it for you
The Add to App button opens an Aiola thread with implementation instructions tailored to the selected framework, but it also tells the thread to inspect the actual codebase before editing anything.6. Verify capture
After deployment or local setup, trigger a test error and confirm it appears in:- Project → App Logs
- Central → App Logs

