Exporting .mdd or .pc2

Hi all,
anyone know any tutorial on how to export an animated mesh using .mdd or .pc2 ?

Should I select the object? and at which frame? been trying to export but still got error from Unity (Megafier Plugin).

Thanks in advance!