Skip to content

Setup

Sign up at neon.tech and create an API key in the Neon console. Register the provider next to your cloud’s:

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

Run alchemy profile edit --add Neon. The API key is entered interactively and saved under ~/.alchemy/credentials/<profile>/neon-stored.json.

In CI (CI=true), Alchemy skips profiles. Set NEON_API_KEY and Alchemy reads it directly without persisting anything.

See Profiles for how credentials are stored and switched.