Esxi device details with esxi_stats

Hello everyone,

I can’t get any further with the addon esxi_stats from Github. This is now visible under HA Settings - Devices (look at Printscreen).
How do I integrate this as a custom button card? Do you have to put the code from Github into a file and place it under the folder
www/comunity folder? The goal would be an icon with the number of VM’s CPU used % and Memory used in % (Printscreen).
Also display the datastore with the “Flex table cards” ## Install flex-table-card from here Custom cards for Home Assistant · GitHub
Where does this script code need to go? Where is the IP of the esxi adapted and the credentials?
Unfortunately too little experience to integrate this…
Thanks for your support! (and patience)