Quick start
Get your first events into Amlexia in under five minutes.
1. Sign up and get an SDK key
- Open app.amlexia.com/signup.
- Create an organization and project.
- Copy the SDK key (
am_...) from project settings.
2. Install the SDK
bash
npm install @amlexiahq/nodebash
pip install amlexia3. Send one event
typescript
import { AmlexiaClient } from '@amlexiahq/node';
const client = new AmlexiaClient({
sdkKey: process.env.AMLEXIA_SDK_KEY!,
ingestUrl: 'https://ingest.amlexia.com',
});
await client.track({
endpoint: 'GET /health',
method: 'GET',
statusCode: 200,
latencyMs: 12,
});
await client.shutdown();python
import os
from amlexia import AmlexiaClient
client = AmlexiaClient(sdk_key=os.environ["AMLEXIA_SDK_KEY"])
client.track("GET /health", "GET", 200, 12)
client.shutdown()4. Confirm in the dashboard
Open app.amlexia.com → your project. Within about a minute you should see traffic on Overview or Live.
5. Instrument your web framework (recommended)
| Framework | Doc |
|---|---|
| Express | Node — Express |
| FastAPI | Python — FastAPI |
| Next.js | Node — Next.js |
Or use AI setup prompts — copy a prompt into ChatGPT or Claude.
Environment variables
env
AMLEXIA_SDK_KEY=am_your_key_here
AMLEXIA_INGEST_URL=https://ingest.amlexia.comProduction checklist
Use Best practices: separate staging keys, shutdown() on SIGTERM, and never expose the SDK key to the client.
