Skip to content

Latest commit

 

History

History

spotify_bearer_auth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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"