Sandbox

We highly recommend setting the sandbox parameter to true when getting started with PDFGen or during development.

With sandbox enabled, generated PDFs will include a watermark, but conversions won’t count against your credits.

This allows you to test and refine your code without worrying about credit usage.

Once everything is set up, run a final test locally with sandbox disabled (false) to ensure your PDF renders exactly as expected.