Skip to content

Setup

Sign up at axiom.co and create an API token in the Axiom app. Register the provider next to your cloud’s:

alchemy.run.ts
import * as Axiom from "alchemy/Axiom";
providers: Layer.mergeAll(Cloudflare.providers(), Axiom.providers()),

The next alchemy login adds an Axiom step with two options:

  • Environment variables — reads AXIOM_TOKEN (or AXIOM_API_KEY), plus optional AXIOM_ORG_ID and AXIOM_URL (good for CI).
  • Stored token — an API token or personal access token entered interactively, saved under ~/.alchemy/credentials/<profile>/.

See Profiles for how credentials are stored and switched.