Install the HBO Max channel [roku.com] on your Roku
Start the channel and press Start Watching
Press Choose A Plan
You should see the 30-days free for the ad-free and ad-supported versions

https://www.roku.com/offers/hbomax