# PolicyStack > Privacy policies and headless cookie consent from one TypeScript config. V1 documentation for developers and coding agents. ## Using PolicyStack V1 Use PolicyStack for TypeScript-defined privacy and cookie policies and headless consent. The current public package line is V1. Install with `pnpm dlx @policystack/cli@1 init` and review the generated configuration. - [Complete React quickstart](https://policystack.dev/docs/quickstart.md) - [Current support and limitations](https://policystack.dev/docs/reference/support.md) - [Generated SDK reference](https://policystack.dev/sdk.txt) - [CLI and MCP tools](https://policystack.dev/docs/policy/cli.md) - [Generated agent workflow skills](https://policystack.dev/docs/policy/agent-skills.md) - [V2 roadmap — planned, not shipped](https://policystack.dev/docs/roadmap.md) Current V1 documentation is authoritative for supported APIs. The roadmap describes unshipped direction and historical blog posts describe their publication date. Neither is included in the consolidated current reference. ## Docs ### Getting started - [PolicyStack V1 documentation](https://policystack.dev/docs): Build privacy policies and headless cookie consent with PolicyStack V1. Start with a working TypeScript and React example or choose a framework adapter. - [Add privacy policies and cookie consent to React](https://policystack.dev/docs/quickstart): Install PolicyStack V1, define a shared TypeScript config, render a privacy policy, and collect an analytics consent choice in React 18 or later. ### Policy - [Introduction](https://policystack.dev/docs/policy): What Policy is and why it exists - [Configuration](https://policystack.dev/docs/policy/configuration): Setting up your policystack.ts config file - [Generate a privacy policy in React or export Markdown](https://policystack.dev/docs/policy/policies/quick-start): Generate a privacy policy with PolicyStack V1. Render React components or export privacy and cookie policies as Markdown, HTML, and PDF. - [Overview](https://policystack.dev/docs/policy/policies/overview): The policy types supported by Policy - [Privacy Policy](https://policystack.dev/docs/policy/policies/privacy): Generate and render a privacy policy from your policystack.ts config - [Cookie Policy](https://policystack.dev/docs/policy/policies/cookies): Generate and render a cookie policy from your policystack.ts config - [Render privacy policies in React](https://policystack.dev/docs/policy/react): React adapter — PrivacyPolicy, CookiePolicy, custom renderers - [Render privacy policies in Vue](https://policystack.dev/docs/policy/vue): Vue adapter — PrivacyPolicy, CookiePolicy, custom renderers - [Render privacy policies in Svelte](https://policystack.dev/docs/policy/svelte): Svelte adapter — PrivacyPolicy, CookiePolicy, snippet overrides - [Internationalization](https://policystack.dev/docs/policy/i18n): Render Policy in French, German, Dutch, or Spanish ### Consent - [Consent](https://policystack.dev/docs/consent): Open-source primitives for building cookie banners and preferences - [@policystack/core/consent](https://policystack.dev/docs/consent/core): Framework-agnostic consent store and the shared concepts every adapter wraps - [Add cookie consent to React](https://policystack.dev/docs/consent/react): React adapter — useConsent, useCategory, ConsentGate, GatedScript - [Add cookie consent to Vue](https://policystack.dev/docs/consent/vue): Vue 3 adapter — provider, composables, ConsentGate, GatedScript - [Add cookie consent to Svelte](https://policystack.dev/docs/consent/svelte): Svelte 5 runes adapter with GatedScript and a Svelte 5 Readable API - [Add cookie consent to Solid](https://policystack.dev/docs/consent/solid): Solid adapter — provider, signals-based hooks, GatedScript - [Add cookie consent to Angular](https://policystack.dev/docs/consent/angular): Angular 20+ adapter — providePolicyStackConsent, ConsentService, *ocConsent - [@policystack/scripts](https://policystack.dev/docs/consent/scripts): Pre-built script integrations: GA4, Meta Pixel, PostHog, Segment, GTM, Hotjar, Microsoft Clarity ### Tooling and agents - [PolicyStack CLI — init, validate, and MCP](https://policystack.dev/docs/policy/cli): Set up PolicyStack V1, validate TypeScript configurations as JSON, and connect coding agents through the stdio MCP server. - [Consent scanning with CLI and MCP tools](https://policystack.dev/docs/consent/cli): PolicyStack V1 ships init, validate, and mcp commands. Use Vite or the MCP scan_ungated tool for consent scanning; scan and sync shell commands are not implemented. - [AI skill pack](https://policystack.dev/docs/policy/agent-skills): Install the Policy skill pack into Claude Code — guided procedures for setup, auditing, jurisdiction posture, and instrumentation - [Auto-collect](https://policystack.dev/docs/policy/policies/auto-collect): Automatically populate data.collected and thirdParties from your source code - [@policystack/vite/consent](https://policystack.dev/docs/consent/scanner): Static AST detection of cookie writes and vendor scripts - [Detect ungated analytics with the Vite plugin](https://policystack.dev/docs/consent/vite): Vite plugin — surfaces ungated cookie and vendor calls in dev and CI ### Reference - [V1 support matrix and limitations](https://policystack.dev/docs/reference/support): Current PolicyStack V1 framework, renderer, CLI, jurisdiction, and server-side coverage. Distinguish shipped APIs from the planned V2 platform. - [Supported jurisdictions](https://policystack.dev/docs/policy/references/jurisdictions): The canonical list of jurisdiction codes Policy accepts and what each one ships - [Examples](https://policystack.dev/docs/policy/references/examples): Example projects using Policy ## Other - [Privacy and consent as code](https://policystack.dev/): Generate privacy policies and manage headless cookie consent from one typed TypeScript config with PolicyStack V1. ## RSS Feeds - [PolicyStack — Blog](https://policystack.dev/blog/rss.xml)