Hi @fit_user,
have a look at this class: https://github.com/camunda/camunda-bpm-platform/blob/master/examples/invoice/src/main/java/org/camunda/bpm/example/invoice/DemoDataGenerator.java
Just call it in the postProcessEngineBuild().
Hope this helps, Ingo