When installed, this will be located in '/config/www/community/button-card', you still need to add it to your lovelace configuration ('ui-lovelace.yaml' or the raw UI config editor).
When you add this to your lovelace configuration use this:
URL: /hacsfiles/button-card/button-card.js Type: module