Connecting Spotify lets NomNomzBot work with the music you play on your Spotify account. The dashboard can show the current song, control playback and accept song requests, while Spotify remains the music service and playback device. You make the connection on Integrations, under Settings.
Two things are involved in setup: your Spotify listening account and the Spotify app that asks permission to use it. The bot’s operator may already provide a shared app, in which case you can connect without making one yourself. Your own app is needed only when there is no shared app, or when you choose to use your own credentials.
Choose the app, then connect your account
Open the Spotify row under Connected services and check the app label.
| Label | Next step |
|---|---|
| The shared Spotify app | Choose Connect and sign in to Spotify. Making your own app is optional. |
| Your own Spotify app | Choose Connect using the app you already saved. |
| No Spotify app yet | Add your app using the steps below, then choose Connect. |
After connecting, open Spotify on your preferred playback device and start a song. The Music page should show it under Now playing. This checks the account connection before you add request rules or browser audio. When the Music page says “Spotify has no active device”, open Spotify on a device, or use the Device picker on the Music page to choose which Spotify device plays.
Who can use this page
| Role | What they may do |
|---|---|
| Moderator, Lead moderator | See the page and the connection status. |
| Editor, Broadcaster | Add the Spotify app, connect, reconnect and disconnect. |
Only the Broadcaster sees Settings in the sidebar.
A Moderator, Lead moderator or Editor opens the page from a direct link.
The link is the dashboard address followed by /app/u/ and the channel name, then /settings/integrations.
The roles are explained on Permissions.
Make your Spotify app
Skip this section when the shared app already works for your channel. A personal app gives the bot your own Spotify client credentials; it does not create another Spotify listening account.
New Spotify apps start in development mode. Spotify currently requires a Premium account for the app owner and an allowlist for the Spotify users who use the app, with up to five authenticated users in development mode. Check Spotify’s quota-mode requirements when creating or sharing the app.
-
Create an app in the Spotify developer dashboard.
-
Add this redirect address to the app, with your own dashboard address in front:
https://your-dashboard.example.com/api/v1/integrations/spotify/callback -
Copy the app’s Client ID and Client secret from Spotify.
The redirect address is where Spotify returns after you approve the connection.
It must match your bot’s address exactly, including https:// and any port.
Spotify’s redirect-address requirements explain the exceptions for local loopback addresses.
Add your Spotify app
- Open Settings in the sidebar, then Integrations. The Connected services list shows a Spotify row. With neither your own app nor a shared app available, the row says No Spotify app yet. When Spotify is also not connected and no shared app exists, the Your own Spotify app dialog opens by itself.
- If the dialog is closed, choose Add your Spotify app, or Use your own Spotify app when a shared app is available.
- Type the app’s client id in Client ID.
- Type the app’s client secret in Client secret.
- Choose Save. The dialog closes and a message says “Your Spotify app is saved.” The row now says Your own Spotify app. Under it, Client ID ending in shows the last four characters of the client id.
Both fields are required. The secret is stored encrypted, and the dashboard never shows it again. To change it, choose Edit and type a new secret.
Connect your Spotify account
- On the Spotify row, choose Connect. Spotify’s own sign-in page opens in a new window. When the browser blocks the window, the dashboard tab itself goes to Spotify.
- Sign in to Spotify and accept the permissions. You are back on the dashboard. The row now shows Connected and the Spotify account name after as.
Choose Details on the row to see what the connection holds.
| Line | What it shows |
|---|---|
| Permission sets | The groups of Spotify permissions you accepted. |
| Can do | The things the bot has seen work on your account since it last started. The names are short words, such as playback. |
| Last sync | When the bot last synced with Spotify. |
Connect asks for two permission sets.
| Permission set | What it lets the bot do |
|---|---|
| Control playback | See what plays, and play, pause and skip. |
| Read your library | Read your playlists and saved songs, and add to them. |
Reconnect
When the row shows Sign in again, Spotify no longer accepts the saved login. Choose Reconnect on the row. Sign in to Spotify. The row shows Connected again.
Disconnect Spotify
- On the Spotify row, choose Disconnect. A dialog Disconnect Spotify? opens. It lists the parts of the channel that stop working, with the real counts.
- Choose Disconnect in the dialog. A message says “Spotify is disconnected.” The row shows Not connected.
Your Spotify app stays saved, so you can connect again with Connect.
Remove your Spotify app
- On the Spotify row, choose Edit.
- Choose Remove my app in the dialog, or Use the shared app when that is offered. Without a shared app, the message is “Your Spotify app is removed.” and the row returns to No Spotify app yet. With a shared app, the message is “Back on the shared Spotify app.”
If the bot has a shared app, the removal control is Use the shared app and the channel falls back to it. Otherwise the row returns to No Spotify app yet, and you need an app before making a new connection.
Spotify audio in an OBS browser source
Controlling Spotify and playing Spotify audio inside a browser source need different permissions. The normal Connect flow asks for Control playback and Read your library. Browser playback additionally needs Play in the browser and Spotify Premium.
The current dashboard’s normal Reconnect button does not request that extra permission set. If Music Player says to reconnect for streaming permission and the permission is still absent afterward, repeating the same reconnect will not add it. You can still use Spotify on an active desktop or other Spotify device; capturing that device’s audio in OBS is separate from the bot’s account connection.
Troubleshooting
When something is not right
The row shows “Sign in again (the saved login is unreadable)”. The bot cannot read the saved Spotify login. Choose Reconnect and sign in to Spotify again.
Related pages
- Connect platforms shows how the stream platforms connect.
- Music player shows what plays and how to control it.
- YouTube is the other music source.