How to setup fading (trailing) beam emitter?

for me i selected color over life, and opened alpha over life section. I gave it a unique name and then set distribution to Distribution Float Particle Parameter. set min and max values to 0 and 1 respectively and constant to 1. In the blueprint that spawns emitter save parameter and use node set scalar parameter value and remember to use the same parameter name. then from here you can lerp float values of time and set the opacity of the beam emmiter