Use the API login username and key from your portal profile. Login is remembered in this browser until you log out or the session expires. The API key is never stored; documents stay in this tab's memory.
Open this example locally
Save this one HTML file. The full portal graph component, its CSS and Chart.js load from the selected API, so an internet connection is required. Save the file in a folder, open a terminal in that folder and run python -m http.server 8080 --bind 127.0.0.1. Open http://localhost:8080/cycles.html, select the tenant and environment, then connect. Opening the file by double-click supports the demo only.
The API must include support for this example's local origin. An older beta/production deployment may reject the browser request until the updated API is deployed. Do not disable browser security. Required access: Units1, a WashDoc tab, Bank/Location/Unit Read and matching resource grants.