Fluent builder and embedded form in spring boot

I am using the fluent API in a spring boot scenario. I am unable to get an embedded form to work. The error I get when opening the task inside TaskList is "Form failure: The context path is either empty or not defined."

When I download the process deployment and deploy as a BPMN file from the resources directory, everything works just fine.

I think I have nailed this down to needing to call createDeployment() with a ProcessApplicationReference however I can’t find a way to get the instance from the SpringContext

Below is the code I am using to build and deploy the process. I would really appreciate if someone could point me in the right direction.

BpmnModelInstance flipCoin = Bpmn.createExecutableProcess("CoinFlips")
            .name("CoinFlips")
            .startEvent("CoinFlipsRequested")
            .userTask("AwaitFlips").camundaFormKey("embedded:app:forms/recordFlips.html")
            .serviceTask("StoreFlips").camundaClass(ProcessCoinFlips.class)
            .endEvent("CoinsFlipped")
            .done();
    return this.service.createDeployment(???).addModelInstance("coinflips.bpmn",
            flipCoin).deploy();

Shameless bump