Skip to content

Quick start

Get your first events into Amlexia in under five minutes.

1. Sign up and get an SDK key

  1. Open app.amlexia.com/signup.
  2. Create an organization and project.
  3. Copy the SDK key (am_...) from project settings.

2. Install the SDK

bash
npm install @amlexiahq/node
bash
pip install amlexia

3. 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.

FrameworkDoc
ExpressNode — Express
FastAPIPython — FastAPI
Next.jsNode — 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.com

See Environment variables.

Production checklist

Use Best practices: separate staging keys, shutdown() on SIGTERM, and never expose the SDK key to the client.