Short answer
HubSpot's KB: use the Campaigns CRM card to associate records. For contacts you can add an influence type; not for deals or tickets. Once a contact is marked influenced, it can't be removed from the influence count.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Pick the campaign carefully, since influence sticks.
3. Related
Influenced contacts and campaign assets.