Open the Help menu in SAM, then select HTML Output Reference. That guide (albeit written with SAM 3 in mind), covers everything you need to know about how to have SAM upload generated static HTML files to your website.
I can load the last 10 tracks from Audiorealm into an i-frame on my home page
OK, if you want to do that, that's fine as well. I got no clue why anyone would want to do that when SAM has a full-fledged static HTML-website included, but to each their own.
but I don't know how to configure requests or station IDs.
Station IDs can be "configured" in the Playlist module of SAM. Just add them to the right category in the "Content" Section.
You can also "configure" when to play them in either the Event Scheduler or your Clockwheel rotation logic.
Or were you talking about showing/hiding them on the web output?
SAM's default HTML templates that ship with the product only show songs (type S tracks) in the playlist, but all tracks in history, queue and now playing.
To change that behaviour, you need to adjust the HTML templates (_playing.html) and add
in front of
Same for queue.SONGTYPE and LOOP(queue) respectively.