Vega printers have an option to have preset retraction settings that are stored in the firmware of the printer.
You simply have to define in the slicer (there is another page on how to setup Cura properly) that it is firmware retraction and it will all be done automatically.
For this go to Filament section in your printers web console.
Click on the Upload Filament Configs and upload filament profiles: