The REF or Vref sets the current LIMIT for the driver. This is important to understand BASIC electricity, AKA Ohm's law, Voltage divided by Resistance = Current.
If your source voltage from the power supply is 12 volts and we are using a 3 Ohm stepper motor coil, 12 Volts divided by 3Ohms is 4 Amps.
But wait, the motor isn't rated for 4A and would burn up right? It's ONLY rated for 1.2 Amps.
So we use a current limiting stepper driver and set a current limit so that the driver maxes the torque from the motor but limits the current and resulting power so the motor doesn't overheat.
Vref or REF depending on what text you are looking at on the stepper driver is what sets the current limit. I gave you the formula to understand WHY the voltage I provided that you should set the REF or VREF potentiometer to on the stepper driver correlates to a KNOWN current limit value.
I then also provided you a table of STANDARD settings for known motors used with gen4. I also said that since this motor requires MORE current (1.2A VS 0.84A for the other moons motors you had) you then keep all the other voltages (PFD, RC1,RC2) the same as in the table for the moons motor (because it's ALSO a low inductance motor) but again have to adjust REF to match the proper setting for the new motor.
So back to the match I gave you if you want to set for 1.2A and we know that 2volts ref= 1A of current, solve for reef voltage @ 1.2A.
I already said it, 2.4 volts. However, we sometimes find the MAX current setting may overheat the motor if not provided enough airflow so setting the REF voltage 10% lower is common practice and quiets down the bot. So, just off the cuff, I would generally start at say 2.3 Volts ref and work my way down to 1.2 volts if a particular motor was getting too hot.
Stepper motors can get uncomfortably hot to touch and still be fine, but on printed plastic motor mounts, the problem isn't the motor, but the mount giving out.
Also, yes, the W804 motor you listed is perfect specs for this.