Dashboard

Total Assets
Fleet inventory
Portfolio Value
Depreciation ongoing
Average Health
Across all assets
Needs Attention
Review recommended

Portfolio Value Trend

May 2025 – May 2026

Asset Status

Health Distribution

Recent Custody Activity

Latest 8 events

Assets Requiring Attention

15 assets
Asset ID Name / Model Status Health Current Value Location Custodian Rem. Life
0 records

Portal Assistant

Powered by Gemini AI

Quick Questions

API key not configured

Hello! I'm your AssetVault Assistant.

I have full context of your 15-asset fleet and can answer questions about health, value, depreciation, custody history, and maintenance needs.

Configure your Gemini API key in to activate the assistant.

Responses generated by Gemini AI. Verify critical decisions against source records.

Gemini API Configuration

Security Notice

Your API key is held only in sessionStorage — it is cleared automatically when you close the browser tab. It is never written to disk, logged, or sent anywhere except Google's Generative Language API. For production deployment, use a backend proxy (see guide below).

Get your free key at Google AI Studio.

Production Security Guide

1
Never expose API keys in frontend code or version control

The browser-session approach is fine for personal/local use. For any shared or public deployment, the API key must be kept server-side only.

2
Use environment variables on your server

Store the key as GEMINI_API_KEY=AIza… in a .env file listed in .gitignore. Load it with dotenv (Node) or python-dotenv (Python).

3
Build a lightweight backend proxy

Create a single endpoint (e.g., POST /api/chat) that holds the key server-side and forwards requests to Gemini. The frontend only talks to your proxy — never to Google directly.

4
Restrict the key in Google Cloud Console

Lock the key to the Generative Language API only, and restrict allowed IP addresses or HTTP referrers to your server's addresses.

5
Rotate keys periodically

Generate a new key quarterly or immediately if you suspect exposure. Revoke old keys in the Google Cloud Console API credentials panel.