Hi tdooley45 and welcome to the forum.
You pretty much have it down. You would take the optical connection out of the TV to an optical input on your receiver.
Then turn on the digital out in the TV setup and assign the optical input on the Receiver the input you want to use (ie TV).
Then when you are playing the streaming source, set your receiver to the TV source input and you should be fine.