Pair the TV

Make a link, then open it once in the TV browser, or cast this phone to the TV and open it here. The TV remembers it. Making a new link stops the old one.

Apple TV app

Open Fuel on the Apple TV, then type the 6 digit code it shows.