The Wallet app prompts you to set this up when you initially add the transit card too, IIRC.

It’s also enabled by default now if I remember correctly.