Use the library classes from your code.
Use Spring beans: com.haulmont.reports.app.service.ReportService or com.haulmont.reports.ReportingApi (from app-core module) to programmatically launch reports from your code.
You can also consult with com.haulmont.reports.gui.ReportGuiManager class if you need the logic to input parameters etc.