Short answer
HubSpot's KB: custom channels bridge an external messaging service and HubSpot. Install your app from the marketplace and connect it in the inbox; Super Admin is required. Messages also log on the contact record.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Help desk has its own custom channel steps.