How to add latest discussions in river dashboard

Hello Members,

I am trying to add the latest disscusions of all gtoups to riverdashboard as a tab. to get the latest dissucssions which code i have to add?

thank you very much for the help.