How to do Shadow Catcher

I would like to get the classic shadow catcher like a normal 3D package to composite in post process.
That means a file with the shadow in the ground in alpha.

I couldn’t find anywhere how to do this, the closer is the composure framework example but i don’t have the alpha.

It’s possible?

Thanks