To enable it on steam deck, you need to switch to the beta channel. After that, you’ll have a new setting category for it, and should have a new tab in the overview page.

Default binds are steam button+A to start recording (if you don’t have passive recording enable), and steam+y to flag a time in the recording.