First, install `wkhtmltopdf` on your system and ensure it’s in your `PATH`. Then, install `pdfkit` using `pip install pdfkit` and configure it in your Python script if needed.