ComPDF
Use ComPDF with AI apps and agents through Vercel Connect. Follow a complete setup guide for secure runtime access.
Install the skill
$ npx skills add vercel/vercel-plugin --skill vercel-connectConnect to
ComPDF$ vercel connect create compdf --name acme-compdfUse its data in agents(opens in new tab) and apps(opens in new tab)
import { getToken } from '@vercel/connect';const token = await getToken('compdf/acme-compdf');
Use ComPDF in apps and agents
Convert, generate, edit, and extract data from documents.
Why use Vercel Connect with ComPDF?
Credentials on demand
Request ComPDF credentials only when your application or agent needs them instead of copying secrets into application code.
Access for the right subject
Keep app-scoped ComPDF access behind a reusable connector controlled by your team.
Centralized credential management
Manage ComPDF credentials in one place and retrieve them through a consistent runtime API.
Vercel-native controls
Bind connections to the projects and environments that need them while Vercel OIDC authenticates each runtime request.
Use ComPDF with your stack
Follow a complete setup for the Connect SDK or a supported agent framework.
Add ComPDF to an existing Vercel application with the Connect SDK.
Install the Connect SDK
npm install @vercel/connectCreate the ComPDF connector
Run these commands from the project that will use the connection.
vercel linkvercel connect create compdf --name acme-compdfvercel env pullRequest ComPDF credentials
app/api/route.tsimport { getToken } from '@vercel/connect';const token = await getToken('compdf/acme-compdf');