How to integrate flowable-form-engine to a spring-boot application

It would be something like this (haven’t tried it, but this is the idea):

@Bean
public ProcessEngineConfigurationConfigurer configurationConfigurer() {
    return new ProcessEngineConfigurationConfigurer() {
        public void configure(SpringProcessEngineConfiguration processEngineConfiguration) {
            processEngineConfiguration.addConfigurator(new FormEngineConfigurator());
            processEngineConfiguration.addConfigurator(new DmnEngineConfigurator());
        }
    };
}