--- title: Setup description: Install the headless packages for your framework, create the engine once, and use them with server-side rendering. --- import { Callout } from '@/components/docs/callout'; # Setup A headless viewer needs two packages: the one for your framework, and an engine. This page installs them, creates the engine for your whole app, and covers server-side rendering, bundlers and fonts. ## Install ```sh npm2yarn npm install @embedpdf/react @embedpdf/engine ``` ```sh npm2yarn npm install @embedpdf/react @cloudpdf/engine ``` ```sh npm2yarn npm install @embedpdf/vue @embedpdf/engine ``` ```sh npm2yarn npm install @embedpdf/vue @cloudpdf/engine ``` ```sh npm2yarn npm install @embedpdf/svelte @embedpdf/engine ``` ```sh npm2yarn npm install @embedpdf/svelte @cloudpdf/engine ``` ```sh npm2yarn npm install @embedpdf/angular @embedpdf/engine ``` ```sh npm2yarn npm install @embedpdf/angular @cloudpdf/engine ``` The framework package holds every plugin, one import path each (`@embedpdf/react/search`, `@embedpdf/react/annotation`). A plugin you don't import isn't in your bundle. It works with React 18 and later. It's written for Vue 3: components for your templates and composables for `