plano/demos/integrations/spotify_bearer_auth/README.md

1.6 KiB

Use Case Demo: Bearer Authorization with Spotify APIs

In this demo, we show how you can use Plano'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 Plano

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

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