The Quick start CLI does all of this for you. Prefer to wire it up by hand? It’s three steps.
Install Postboi
Set your provider and credentials
Point Postboi at a provider and give it the credentials it needs. Each provider reads
its own env vars — see [Providers](/providers) for the full list.
Send
No provider import, no constructor — credentials come from the environment.
Environment variables
init writes POSTBOI_PROVIDER, the provider’s credential env vars, and optional POSTBOI_* defaults. send() reads them on every call.
On SvelteKit
A contact-form action is a one-liner. See SvelteKit form actions.
On runtimes without ambient env vars (e.g. Cloudflare Workers), construct the provider directly — see Using a provider directly.