Integrate document extraction into your application
PageSignal offers native document workspaces for React, Angular and Vue, plus server-side extraction libraries. Choose the interface that fits your application rather than embedding the hosted website in an iframe.
Choose your package
| Package | Purpose | Runs in |
|---|---|---|
| @pagesignal/react | Native workspace for React 18 and 19 | Browser |
| @pagesignal/angular | Standalone Angular 21 workspace | Browser |
| @pagesignal/vue | Native Vue 3.5 workspace | Browser |
| @pagesignal/core | Call the extraction engine with your provider key | Node.js server |
| @pagesignal/sdk | Call a self-hosted PageSignal service | Node.js server |
What the native workspace provides
The framework components provide drag-and-drop upload, multiple-file queue management, bounded parallel processing, progress and error states, editable fields, document previews, query controls and JSON download. The state controller is shared through the browser-safe SDK workspace entry point. Each framework renders its own DOM.
Provide an adapter with an asynchronous extract function and, optionally, a query function. The adapter connects the component to your application’s backend. It must honor AbortSignal to stop upstream work when a document is removed or processing is cancelled. See the adapter contract and examples.
What you still implement
The UI packages do not bundle AI extraction, OCR, PDF rasterization, account login or a backend. Native PDF preview uses the browser’s PDF viewer; precise source overlays and richer page controls in the hosted application are not included in these initial components. Be explicit about these boundaries when planning an integration.
Your backend validates uploads, authenticates users, enforces size and cost limits, renders pages as needed, and calls your chosen extraction service. Keep OpenAI and PageSignal service keys on the server. Never include a service credential in a browser bundle.
Choose direct extraction or an HTTP service
Use the core package to call the engine from Node.js without running a separate PageSignal HTTP service. Use the SDK when your backend needs to call a self-hosted Community server. Both currently extract a rendered JPEG page or query caller-supplied numbered page text; neither accepts a PDF binary directly. Your application supplies PDF parsing and multi-page orchestration.
The hosted website uses account sessions, while Community service examples use a service key. Do not assume a hosted login session or the website’s allowance is an npm package API key. The authentication documentation explains these deployment modes.
Start with a complete example
Follow the framework-specific examples in the React, Angular or Vue documentation. Keep configuration stable where required by each component’s lifecycle, validate the returned schema, and review extracted values before passing them into a business workflow.
Open source and versioning
The repository and packages are MIT licensed. You can inspect and adapt the implementation while preserving required notices; model usage and hosting remain separate costs. React v2 replaces the earlier iframe props with an adapter API. Review release history and migration notes before upgrading, and report reproducible integration issues on GitHub.