You would normally connect via WiFi and enter the correct password. I believe the default initial password is printed on a sticker on the BT HomeHub.
Note: Once you have it working you should change both the admin password and the WiFi password from the default as a security measure.
However alternatively the BT HomeHub also has several Ethernet sockets and you could therefore connect the Mac via an Ethernet cable.
Your message is unclear but gives a very subtle impression that rather than wanting to know how you are actually having a problem doing so. If so it would help to have a bit more information such as any error messages or symptoms, and what steps you have tried. Are any other devices successfully connecting?