Quick start
Get your first events into Amlexia in under five minutes.
Full walkthrough
For account setup, every SDK, LLM/Stripe tracking, dashboard, and alerts see Complete setup.
1. Sign up and get an SDK key
- Open app.amlexia.com/signup.
- Create an organization and project.
- Copy the SDK key (
am_...) from Settings.
2. Install an SDK
bash
npm install @amlexiahq/nodebash
pip install amlexiabash
go get github.com/amlexiahq/amlexia-gobash
gem install amlexia3. Send one event
typescript
import { AmlexiaClient } from '@amlexiahq/node';
const client = AmlexiaClient.fromEnv();
await client.track({
endpoint: 'GET /health',
method: 'GET',
statusCode: 200,
latencyMs: 12,
environment: process.env.AMLEXIA_ENVIRONMENT,
});
await client.shutdown();python
from amlexia import AmlexiaClient
client = AmlexiaClient.from_env()
client.track("GET /health", "GET", 200, 12, environment="production")
client.shutdown()go
client, _ := amlexia.NewFromEnv()
defer client.Shutdown()
_ = client.Track(amlexia.Event{
Endpoint: "/health", Method: "GET", StatusCode: 200, LatencyMs: 12,
})ruby
client = Amlexia::Client.from_env
client.track(endpoint: "/health", method: "GET", status_code: 200, latency_ms: 12)
client.shutdown4. Verify
bash
# Node / Python CLI
npx amlexia health
# or: amlexia healthOpen app.amlexia.com → Overview or Live (~60s).
5. Instrument your framework
| Framework | Doc |
|---|---|
| Express | Node — Express |
| FastAPI | Python — FastAPI |
| Next.js | Node — Next.js |
| Go API | Go SDK |
Or use AI setup prompts in Cursor or Copilot.
Environment variables
env
AMLEXIA_SDK_KEY=am_your_key_here
AMLEXIA_INGEST_URL=https://ingest.amlexia.com
AMLEXIA_ENVIRONMENT=production
AMLEXIA_RELEASE=1.0.0Production checklist
Best practices: separate staging keys, shutdown() on SIGTERM, set AMLEXIA_ENVIRONMENT, never expose the SDK key to clients.
