Couple of things to add if you are starting out:

Label the UVW cables once the direction is established as correct so you don’t have to play lucky dip should you disconnect it in future.

Ensure all joints between the VFD and the motor are tight, and any plug sockets remain tight without any strain or opportunity to fatigue over time. If the motor is running and there is any interruption in the UVW cables power supply the VFD will most likely be damaged.