Getting started
License key
Get your key
ReportForge requires an active subscription to generate PDFs. Start a 7-day free trial at reportforge.org/pricing (card required, no charge until day 8).
After signup you receive a license key (RFSU-…) by email. Keys have the format RFSU-XXXX-XXXX-XXXX-XXXX.
Set as environment variable
# Linux / macOSexport RF_LICENSE_KEY=RFSU-XXXX-XXXX-XXXX-XXXX# Windows (PowerShell)$env:RF_LICENSE_KEY = "RFSU-XXXX-XXXX-XXXX-XXXX"# Windows (Command Prompt)set RF_LICENSE_KEY=RFSU-XXXX-XXXX-XXXX-XXXXIn CI, add RF_LICENSE_KEY as a secret in your CI provider (GitHub Actions Secrets, GitLab Variables, etc.).
In playwright.config.ts
Alternatively, pass the key directly via the licenseKey option:
reporter: [['@reportforge/playwright-pdf', { licenseKey: process.env.RF_LICENSE_KEY,}]]Without a valid key the reporter logs a one-line warning and skips PDF generation; your tests still run normally. See Licensing & offline behaviour for the full lifecycle.