Navigate to sign in and settings on the YouTube app.
User will be able to see an 8-digit code on the screen after this. Note down the code for later use.
Open www.youtube.com/activate on your Mac, PC or a mobile device for activating YouTube.
Provide the Google account credentials to proceed with the system. There may also be a confirmation page that requests information sharing
Enter youtube activation code that you see in the Apple TV login interface.
Click on Allow Access to allow the sign-in process for youtube.com/activate.