How to start a background process with button click

I want to start a background process on click of a vaadin button.

Basically what I need is to click the button and start a data migration which takes about 20 minutes. Then I need to continue working with the application while the background process continues.

Right now once i click the button the application goes to waiting mode until the process completes

Is there a way to achieve this?

Check out the Progressindicater Component:

Link to Book page