Rather than re-invent the wheel it’s easier just to post the below video on how to setup GivTCP v3 from within Home Assistant (courtesy of “Speak to the Geek”)
The above video describes the process for setting up GivTCP v3 which is the latest version. There is an older writeup from speaktothegeek on installing GivTCP v2 (which is similar but v3 is simpler) here.