A two-part tutorial explains how to configure the credentials needed to automate syncing a YouTube playlist to a Spotify playlist. For Spotify, it instructs users to create a Spotify developer app on developer.spotify.com with the Web API enabled and a redirect URI of http://127.0.0.1:8888/callback. After saving the app, users copy the app’s Client ID and Client Secret from the app settings. The tutorial then walks through a one-time login to obtain a long-lived refresh token: users open a Spotify authorization URL using their Client ID, accept playlist permissions, extract the code from the callback URL, and exchange that code for tokens via curl (or PowerShell) against Spotify’s token endpoint. The resulting refresh_token is stored for unattended daily runs, while the access token expires after about an hour. The tutorial’s next chapter covers YouTube setup in Google Cloud Console: users create or select a project, enable the YouTube Data API v3, generate an API key, and (recommended) restrict the key to that API. Finally, it shows how to find the YouTube playlist ID from the playlist URL and notes the playlist must be public or unlisted for API access.