Skip to content

Set up Spotify API

Bennett Wendorf edited this page Jul 23, 2022 · 3 revisions
  1. To get started, go to the developer portal and login, accepting any developer terms as needed
  2. From there, you can click Create an App, giving it a name and description and checking the box for agreeing to the terms
  3. Click on the newly created application, as we'll need to set up a few things.
  4. Copy the client id and paste it in the .secrets.toml file
    [Spotify_Widget]
        client_id = "<Your id Here>"
  1. Click show client secret, copy it, and paste it in the .secrets.toml file as well
    [Spotify_Widget]
        client_id = "<Your id Here>"
        client_secret = "<Your secret here>"
  1. Open the settings menu for the app with the Edit Settings button
  2. Add a new redirect URI of http://localhost:8888/redirect
  3. Make sure to scroll all the way to the bottom and click save before navigating away from the settings screen!

For more information, you can check out Spotify's article.