Create a project
Everything you send to Amlexia is scoped to a project inside an organization.
Organizations
- Created when you sign up (or join via invite).
- Map to your company or team in Clerk.
- Billing and members are org-level when you upgrade.
Projects
Each project has:
| Item | Description |
|---|---|
| SDK key | Secret am_... used by your app to ingest events |
| Settings | Retention, alert defaults, feature toggles |
| Data isolation | Events from project A never appear in project B |
Create a new project
- Log in at app.amlexia.com.
- Open the org switcher → Create project (or complete onboarding).
- Name the project (e.g.
production-api,staging). - Copy the SDK key — store it in your secrets manager.
Rotate a key
- Project Settings → Regenerate SDK key.
- Update
AMLEXIA_SDK_KEYin your deployment. - Redeploy all services that ingest to that project.
Old keys stop working immediately after regeneration.
Multiple environments
Recommended pattern:
| Environment | Approach |
|---|---|
| Production | One project prod-api |
| Staging | Separate project staging-api |
| Local dev | Same staging project or local ingest URL with staging key |
Use AMLEXIA_ENVIRONMENT on events to filter production vs staging within a project if you prefer a single project.
