Add from github

I am trying to add ‘button-card’ with manual installation.
According to github it tells me to:

    Download the button-card
    Place the file in your config/www folder
    Include the card code in your ui-lovelace-card.yaml

    title: Home
      - url: /local/button-card.js
        type: module

    Write configuration for the card in your ui-lovelace.yaml

But I don’t have any ui-lovelace-card.yaml… how to proceed?

Those directions are horribly out of date and the author hasn’t supported the card since 2021.

Easiest is to install via HACS, as it handles everything for you. Then it should just show up in the UI when you add a card. It is all done in the UI now.

Thanks … I installed HACS