Click in the top menu on the apple icon and enter System Preferences
In the window that opened, click Internet Accounts
Click on Google
Enter your full HujiMail address and click on Next
Enter your username (no need for the full address) and the password and click on Sign in
Choose the apps you want to sync with the computer (by default all are highlighted) and click on Done