plano/demos/use_cases/spotify_bearer_auth
2025-02-14 19:28:10 -08:00
..
arch_config.yaml Update arch_config and add tests for arch config file (#407) 2025-02-14 19:28:10 -08:00
docker-compose.yaml Fixing relative link to the shared chatbotui in the spotify demo, and add references to it in the README (#400) 2025-02-10 11:23:04 -08:00
README.md updated the spotify bearer authorization README and fixed main README… (#402) 2025-02-10 17:56:28 -08:00
run_demo.sh spotify demo with optimized context window code change (#397) 2025-02-07 19:14:15 -08:00
spotify_bearer_auth.png updated the spotify bearer authorization README and fixed main README… (#402) 2025-02-10 17:56:28 -08:00

Use Case Demo: Bearer Authorization with Spotify APIs

In this demo, we show how you can use Arch's bearer authorization capability to connect your agentic apps to third-party APIs. More specifically, we demonstrate how you can connect to two Spotify APIs:

Where users can engage by asking questions like "Show me the latest releases in the US", followed by queries like "Show me top tracks from Taylor Swift".

Example of Bearer Authorization with Spotify APIs

Starting the demo

  1. Ensure the prerequisites are installed correctly.

  2. Create an .env file with API keys for OpenAI and Spotify.

    OPENAI_API_KEY=your_openai_api_key
    SPOTIFY_CLIENT_KEY=your_spotify_api_token
    
  3. Start Arch

    sh run_demo.sh
    
  4. Navigate to http://localhost:18080

  5. Ask "show me new album releases in the US"