Which model of Wifi device do you have? Google Wifi, Nest Wifi, or Nest Wifi Pro? Click here to check.
What exactly do you mean by hub?
Although Nest Wifi is designed to replace your router, some ISPs provide a combination modem/router (a modem and router in the same device), which may mean that's not possible. Typically, you'll connect an ethernet cable to your primary Wifi point or Nest Wifi router's WAN port, then connect the other end to your modem or combination modem/router.
I'll link the detailed setup steps below.