You can send an API request using Node.js and a library like `axios` to pass your HTML content to the Document Engine, which will return the generated PDF. The tutorial includes a sample script for making this request.