The lyen controllers expect a hall-throttle voltage range, so any potentiometer throttle will require external electronics (resistors at the least) to convert it's full 0-5V range into the voltage range the controller expects.
That can be anything from 0.8-1.4v at the low end (start of throttle up) up to 3-4v at the high end (full throttle). THe controller may have this on it's label or it maybe in the specs from the seller.
I'm terrible at coming up with formulas for math, but you can use the ratio of voltages you need to exclude at the top and bottom end, and the "leftover voltage" that the throttle needs to be at, and the resistance of the throttle itself, to figure out the resistances you need to put in series with the throttle.
There will be two resistors. One goes from throttle positive to 5v. The other goes from throttle ground to ground. Throttle signal out just goes to throttle in on the controller as usual.
There are a number of threads about using pots on hall throttle controllers, though there's no one search that finds them all.
I think these might have the most detailed info but I haven't read them in a very long time.
https://endless-sphere.com/forums/viewtopic.php?f=2&t=8026
https://endless-sphere.com/forums/viewtopic.php?f=2&t=9413
https://endless-sphere.com/forums/viewtopic.php?f=28&t=21143