Generating Hub Spot API Key:
Login to your account using link (https://app.hubspot.com/login)
After Logging in, go to “Profile” tab and then press “Integrations” in dropdown. Now go for Hub Spot Api key and press “Generate new key”.
Copy and use this key for configuration in sugar
Login to your SugarCRM instance with administrator account
Go to admin section and browse module loader link
Upload zip package from this interface and click on install button
Accept license and commit
Let this installation complete. When 100% done, you will see this screen.