mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
Complete rebrand from "Arch"/"archgw" to "Plano" including: - Config files: arch_config_schema.yaml, workflow, demo configs - Environment variables: ARCH_CONFIG_* → PLANO_CONFIG_* - Python CLI: variables, functions, file paths, docker mounts - Rust crates: config paths, log messages, metadata keys - Docker/build: Dockerfile, supervisord, .dockerignore, .gitignore - Docker Compose: volume mounts and env vars across all demos/tests - GitHub workflows: job/step names - Shell scripts: log messages - Demos: Python code, READMEs, VS Code configs, Grafana dashboard - Docs: RST includes, code comments, config references - Package metadata: package.json, pyproject.toml, uv.lock External URLs (docs.archgw.com, github.com/katanemo/archgw) left as-is. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config.yaml | ||
| docker-compose.yaml | ||
| README.md | ||
| run_demo.sh | ||
| spotify_bearer_auth.png | ||
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".
Starting the demo
-
Ensure the prerequisites are installed correctly.
-
Create an
.envfile with API keys for OpenAI and Spotify.- Sign up for an OpenAI API key at https://platform.openai.com/signup/
- Sign up for a Spotify Client Key/Secret by following instructions at https://developer.spotify.com/dashboard/
- Generate a Spotify token using the https://accounts.spotify.com/api/token API, using
curlor similar commands. - Create a .env file with the following keys:
OPENAI_API_KEY=your_openai_api_key SPOTIFY_CLIENT_KEY=your_spotify_api_token -
Start Plano
sh run_demo.sh -
Navigate to http://localhost:18080
-
Ask "show me new album releases in the US"
