plano/demos/integrations/spotify_bearer_auth
Adil Hafeez 5a4f8cb321
Standardize demo configs and CLI templates to v0.3.0
- Update all demo config files to version v0.3.0
- Rename llm_providers → model_providers across all configs
- Modernize listener format from object to array style
  (e.g. listeners: [{type: model, name:, port:}])
- Replace chatbot_ui with AnythingLLM in 6 docker-compose files
- Remove prometheus/grafana services from llm_gateway and
  preference_based_routing docker-compose files
- Add tracing: random_sampling: 100 to configs that lacked it
- Update 3 CLI init templates (coding_agent_routing,
  preference_aware_routing, conversational_state_v1_responses)
- Fix test_init.py assertion for model_providers key

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:43:59 -08:00
..
config.yaml Standardize demo configs and CLI templates to v0.3.0 2026-02-15 01:43:59 -08:00
docker-compose.yaml Standardize demo configs and CLI templates to v0.3.0 2026-02-15 01:43:59 -08:00
README.md Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
run_demo.sh Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
spotify_bearer_auth.png Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00

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"