Exporting PNG Animation With Shadows On Transparent Background

I’m doing an animation and trying to export it as a PNG. I need to export it with the shadows, but on a transparent background. Once the render finished I imported of on the PNG sequence to see if the shadow was included but it wasnt. Is there a method to have the shadows exported with my PNG animation?

Thank you.

Found this for cycles. Starts at “Update”:

Thanks for this, never seen this feature of shadow catcher in Blender, I’ll be looking into it.

Kind regards.