plano/demos/use_cases/spotify_bearer_auth/README.md
Salman Paracha 28ee14a75c
updated the spotify bearer authorization README and fixed main README… (#402)
* updated the spotify bearer authorization README and fixed main README links

* minor fixes to SPOTIFY README

---------

Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
2025-02-10 17:56:28 -08:00

1.6 KiB

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"