# Setting up the Spotify Web API

## Register the app with the Spotify API

* Head to [developer.spotify.com](https://developer.spotify.com/).
* Login with your Spotify account.
* Once redirected to your Dashboard, Click on 'Create an App'.
* Register the app via the pop up that appears.
  * Name the app `Statify`&#x20;

## Configure the App

* Click on the `Edit Settings` button on the right side of your app's dashboard.\
  ![](https://651604717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXMZNMq0xR5EbW6K8EJ6%2Fuploads%2FIPF0H5af36x9vFrE0j4x%2Fimage.png?alt=media\&token=e9c8b98a-9ebb-4a5c-83b8-522dfd231979)<br>
* Look for the `Redirect URIs` field. Add the following link to it:

```
https://induviduality.github.io/local-redirect/
```

{% hint style="info" %}
Make sure to include the `/` at the end too
{% endhint %}

* Click the `Save` button to save and close.

## Add Users to the App

* Next, click on the `Users and Access` button next to the `Edit Settings` button.
* Under the 'Users and Access' heading, click on the `Add new User` button.![](https://651604717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXMZNMq0xR5EbW6K8EJ6%2Fuploads%2F0PBtbPDHgEHE9q8cULin%2Fimage.png?alt=media\&token=2543e857-3126-4b9b-b1a5-1da5f1ae07f3)
* Enter the display name of the Spotify account you will use to login while running the app. Enter the email ID associated with the account too. Click the `Add` button to save.![](https://651604717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXMZNMq0xR5EbW6K8EJ6%2Fuploads%2Fs7o0xNGEIVXqiBvyZfj4%2Fimage.png?alt=media\&token=967d2a8f-6718-4d8b-8bd5-b2e7b359fd76)

{% hint style="info" %}
If your account uses Google/Facebook sign-in, enter the email associated with the Google or Facebook account
{% endhint %}

## Save your API Credentials

* In your app dashboard, copy the `Client ID` and paste it somewhere safe till we use it in the following steps.
* Click on `Show Client Secret` to reveal your `Client Secret` and copy the same.

{% hint style="danger" %}
Your Client ID and Client Secret are to be highly confidential. Do not make it public at any cost.
{% endhint %}
