Help Accounts

Connect Spotify

About 10 minutes · Updated 23 October 2026

You need

  • Spotify Premium (playback control needs it)

Make a developer app

At developer.spotify.com/dashboard, signed in as the Premium account, create an app with Web API ticked and this redirect URI:

http://127.0.0.1:8899/callback

Add its Client ID

In the PC’s .env:

SPOTIFY_CLIENT_ID=your_client_id

There’s no client secret to keep: the sign-in uses PKCE.

Sign in

.venv\Scripts\python.exe -m natro_agent.spotify_signin

It saves tokens/spotify.json. If Natro runs on a server, copy it there and restart Natro.

Spotify ends a sign-in after six months. Run the sign-in again then.