
Go to Settings → Services.
Under Connected to your profile, find Last.fm or ListenBrainz and click Connect.
Connect the account. The two services work differently:
Last.fm — sign in to your account.
ListenBrainz — paste your User Token into the box and click Connect. You'll find the token on ListenBrainz.org under Settings → User Token.
Checkmark Scrobble tracks from Live Radio and hit Done.
Click your Profile icon in the upper-right corner of Roon or from the Settings menu → Profiles.
Click Edit.
Under Connected to your profile, connect your Last.fm or ListenBrainz account. Last.fm asks you to sign in; ListenBrainz asks for your User Token, found on ListenBrainz.org under Settings → User Token.
Checkmark Scrobble tracks from Live Radio and hit Done.
Click Save.