Skip to main content

Installation

Use @markpdf/react when you want React hooks and upload progress in a controlled client-side app. For public production apps, prefer calling your own backend so the private API key stays server-side.

Install

Configure the provider

A key used directly in React is visible in the browser. Use this only for prototypes, internal tools, or restricted public keys. For Next.js, use @markpdf/nextjs.

API endpoint

The production API endpoint is:

Next step

Continue with Quickstart.