You can connect the TV box to the receiver with HDMI and the receiver to the TV with HDMI.
You can connect the TV box to the receiver with the SPDIF digital audio out and to the TV with HDMI.
You can connect the TV box to the TV with HDMI and the TV to the receiver with HDMI-ARC or digital audio out.
Some options will be better than others depending on whether your TV is 4K or 4K HDR.