Spotify also offers a feature that allows apple TV that lets you connect to your Spotify account with entering the code for activation. If you aren't sure what to do next just follow the steps in the following steps:
Then, turn the Apple TV and then open it up to the Store in the App.
Then, search Spotify in the App store , and download it.
To get the activation code, launch your Spotify application on the Apple TV, and click on the Register button.
Then, sign into your account via your mobile.
Once you have done that, go to your phone's Spotify.com/pair webpage on your smartphone then input the code for activation..
After that, just click then the "Pair" button and you're good to go.