In Chapter 1, we talked about what we're building and what accounts you need. If you've got a Spotify account, a Google account, and a GitHub account ready, you're exactly where you need to be.

Today we set up Spotify. By the end of this chapter, you'll have three things: a CLIENT_ID, a CLIENT_SECRET, and a REFRESH_TOKEN. These are the keys that let our script talk to Spotify on your behalf.

Let's go.

Step 1: Create a Spotify Developer App

Open your browser and go to developer.spotify.com. Log in with your regular Spotify account — the same one you use to listen to music.