ComPDF × Salesforce

Seamless PDF Processing in Salesforce Without Leaving & Switching

ComPDF Web SDK embeds in Salesforce as a Lightning Web Component, enabling teams to view, edit, annotate, sign, and fill PDFs directly within Salesforce.

Integration Advantages

Why Choose ComPDF for Salesforce

Native LWC Embed

Embed into Salesforce pages, flows, and Experience Cloud. Users never leave the platform.

Data Security & Compliance

Load from ContentVersion, Attachment, or S3. Full permission inheritance. Zero data leakage.

Flexible UI

Customize tools and interactions to match your Salesforce brand and business workflows.

Quick Integration

Ship in hours with ready-to-use LWC + Apex code. No need to build from scratch.

Integration Scenarios

Everything You Need for PDF Workflows in Salesforce

Access the full ComPDF Web SDK feature set directly within Salesforce.

PDF Viewing

High-performance renderer. Opens large files instantly.

Document Editing

Edit text, images, and watermarks while preserving original layout.

Annotations & Comments

20+ tools - highlight, underline, shapes, and more. Real-time collaboration.

Form Filling

Auto-recognize form fields. Supports validation and auto-fill.

E-Signatures

Sign contracts directly in Salesforce. No third-party tools needed.

Security & Export

Encryption, access control, redaction. Save results back to Salesforce.

Getting Started

Salesforce + ComPDF Workflow Examples

Sales Quote PDF

Edit in Salesforce

Customer Signs Online

Auto-Saves to Salesforce

From quote to signed contract - everything inside Salesforce. No downloads, no uploads, no switching apps.

Quick Start

Go Live in Hours, Not Weeks

Get started quickly with ready-to-use LWC components and code examples.

import { LightningElement, api, wire } from 'lwc'import BOOT from '@salesforce/resourceUrl/compdf_boot'export default class CompdfViewer extends LightningElement {  async initViewer() {    const container = this.template.querySelector('.pdf_viewer')    window.ComPDFKitViewer?.init({      pdfUrl: this.pdfUrl,      license: this.licenseKey,      path: this.assetBase,      config: window.location.origin + BOOT + '/config.js'    }, container)    container.addEventListener('ready', () => {      this.iframeWindow = container.querySelector('iframe').contentWindow    })  }  handleFileSelected(data) {    this.iframeWindow.postMessage({ type: 'OPEN_DOCUMENT', ...data }, '*')  }}

✨ Free Trial

See ComPDF in Action Inside Salesforce

Schedule a personalized demo and explore how ComPDF integrates directly into your Salesforce instance.

  • Real Salesforce environment demonstration
  • Ready-to-use LWC integration examples
  • 30-day free full-feature trial

🚀Submit Your Request Now