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