How to setup the STM32CubeProgrammer for Arduino?

Here’s a clean, step-by-step way to use STM32CubeProgrammer as the uploader inside Arduino IDE for STM32 (“STM32duino” / ST’s official…