Skip to content
Docs

Getting Started

Set up Varel Core safely.

1

Run varel login, then varel init my-app and choose local-first or launch-ready setup.

2

Agents and CI can skip prompts with varel init my-app --workflow local-first --integrations clerk,convex,polar,sanity,resend,vercel.

3

.varel/project.json is the Varel setup source of truth for workflow, enabled environments, and integration guidance.

4

If Hyperdrive generated a PRD, save it at docs/product-prd.md so future agent threads can read and maintain the active product plan.

5

If Hyperdrive is installed, start with access bootstrap so provider sign-in, MFA, email verification, and product-specific provider access are handled up front.

6

Replace src/config/commerce.ts with your real product catalog.

7

Install official Sanity skills globally with npx skills add sanity-io/agent-toolkit --global --all, npx skills add sanity-io/agent-context --global --all, and npx skills update --global.

8

Run pnpm varel impact "configure integrations" --json and pnpm varel setup plan --json, then let the agent create or select dedicated local/development/preview provider resources and run pnpm varel setup --apply.

9

Never create API keys in unrelated provider projects. Routine non-paid setup terms, onboarding checkboxes, OAuth consent/scopes, and provider confirmations can be accepted after authentication and reported in the final handoff.

10

Copy .env.production.example to .env.production and sync production values only with explicit confirmation.

11

Create or reconcile Polar products and add their IDs to POLAR_PRODUCT_IDS before checkout testing.

12

Create or select a Sanity project and production dataset, configure CORS, deploy the schema and hosted Studio, and publish initial blog content.

13

Run pnpm varel doctor, pnpm agent:preflight, and pnpm check before launch.