The best way to control Claude Code, Codex and more from any computer or phone

main
mdx 34 lines 1011 Bytes
Raw
1 ---
2 title: Setup
3 description: Connect alchemy to Axiom — account, credentials, and profiles.
4 ---
5
6 import PackageManagers from "../../../components/PackageManagers.astro";
7
8 Sign up at [axiom.co](https://axiom.co) and create an API token in
9 the [Axiom app](https://app.axiom.co). Install `@alchemy.run/axiom`:
10
11 <PackageManagers add="@alchemy.run/axiom" />
12
13 Register the provider next to your cloud's:
14
15 ```typescript
16 // alchemy.run.ts
17 import * as Axiom from "@alchemy.run/axiom";
18
19 providers: Layer.mergeAll(Cloudflare.providers(), Axiom.providers()),
20 ```
21
22 Run `alchemy profile edit --add Axiom` and choose an API token or personal
23 access token. It is entered interactively and saved under
24 `~/.alchemy/credentials/<profile>/`.
25
26 In CI (`CI=true`), profiles are bypassed. Set `AXIOM_TOKEN` or
27 `AXIOM_API_KEY`; `AXIOM_ORG_ID` and `AXIOM_URL` are optional.
28
29 See [Profiles](/environments/profiles) for how credentials are stored
30 and switched.
31
32 ## Next steps
33
34 - [Axiom overview](/axiom) — resources and compositions.