Constant Current Led Driver (non dimmable) to work with PWM
You cannot add a dimmer to that fixed output LED driver you are using.

You need to buy another LED driver with a dimmer input.

I would recommend an HLG-40H-xxB where xx = the maximum forward voltage. If the LEDs forward voltage is greater than 54V then a HLG-60H-C  will do the job.

An HLG type B can be dimmed with a resistance, 0-10vdc, or PWM.