Getting Started with the Spotify Developer Dashboard

Get your app set up in the Spotify developer dashboard

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

This lesson preview is part of the Build a Spotify Connected App course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to Build a Spotify Connected App, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course Build a Spotify Connected App

Alright, so let's get started with the Spotify developer dashboard. If you don't have a Spotify account yet, this is the time to make one. You can sign up for free at Spotify.com. Once you have a Spotify account, head on over to developer.spotify.com. Then go to Dashboard. Then login. Once you login, you should see something like this. Here is where we're going to create an app to get our API keys for our client side app. Go ahead and click Create an app. Give your app a name and a description and accept the terms of service. Since I already have my app set up, I'm just going to hit Cancel here. When you do create your app, you should be directed to a page that looks something like this. Keep this page in mind. We'll be coming back to it later. As you can see right now, we have a client ID. If I click this, you can see your client's secret. Once you set up our app to hit the Spotify API, you'll be able to see some analytics and stats of what endpoints you've hit and where the users are and how many users you have. Once that's all set up, I would recommend clicking around the developer site of Spotify. You can go to the Discover tab here and you can see a bunch of different apps that people have made before that use different features of the API like audio features and analysis, playback, recommendations, etc. Also, take a look at the docs. We'll be using the Web API. There's a lot of documentation here that may not make much sense to you now, but we'll be getting into it. Let's go ahead and check out the console. This is a really useful tool that Spotify has provided in to let you play around with each API endpoint. For example, this Get an Albums Track API endpoint, the /albums/id/tracks is a way for you to get JSON information about an album's tracks. As long as you have a good OAuth token here, you can get token if the one they 've provided for you is expired. You can hit Fill Sample Data and then hit Try It. If you scroll down a bit, you can see there is a big JSON response here for that endpoint. You can see that in the items array, there is an object for each track. If we scroll down a bit, we can see that there is a bunch of tracks here in this array, but there's also a total of 18 tracks. This JSON response has been limited to 10 tracks, but we can always hit the next endpoint here to get the next set of tracks. Just click around, play with the different API endpoints, and maybe you'll get inspired to create a Spotify integrated app of your own.