Skip to content

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

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

2. Install an SDK

bash
npm install @amlexiahq/node
bash
pip install amlexia
bash
go get github.com/amlexiahq/amlexia-go
bash
gem install amlexia

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

4. Verify

bash
# Node / Python CLI
npx amlexia health
# or: amlexia health

Open app.amlexia.comOverview or Live (~60s).

5. Instrument your framework

FrameworkDoc
ExpressNode — Express
FastAPIPython — FastAPI
Next.jsNode — Next.js
Go APIGo 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.0

See Environment variables.

Production checklist

Best practices: separate staging keys, shutdown() on SIGTERM, set AMLEXIA_ENVIRONMENT, never expose the SDK key to clients.