Prerequisites
- An AIKO project with your project key and secret key
- A web application using one of our supported frameworks:
- Next.js
- Express
- FastAPI
- Flask
- Actix Web
- Your framework is missing? Let us know what we should add next!
Where to find your project key and secret key
Where to find your project key and secret key
If you missed copying your keys from the onboarding step when creating a project, you can find them again in Settings → Projects:
Quick Setup with Wizard
The fastest way to get started is with our setup wizard—it handles authentication, project setup, and configuration in one go. Just run this from your project root:Grouping apps in one project
Grouping apps in one project
If you have multiple customer-facing products, it’s best to install AIKO Monitor on them all and group them in one project.This makes it possible to track users across their entire journey (e.g. from visiting your landing page to signing up for your product).
Manual Installation
If you’d prefer manual steps (or if the wizard doesn’t fit your setup), you can follow the steps below for your framework.- Next.js
- Express
- FastAPI
- Flask
- Actix Web
1
Install the package
Install AIKO Monitor via npm:
2
Create .env file
Create a
.env file in your project root with your AIKO credentials:3
Initialize in your app
Create an Then create your API routes as usual:
instrumentation.ts file in your project root and initialize AIKO Monitor: