How do I control a material parameter from Niagara in Unreal 4.26?

I need to change a particle material’s opacity from a Niagara particle system. All of the tutorials I’ve found are for Unreal 5, which for various reasons I can’t use at the moment. Does anyone know how to do this?

For my purposes using Dynamic Material Parameter worked.