# HubSpot Cloud Mode Integration

RudderStack lets you send your event data to HubSpot via [cloud mode]({{< ref "destinations/rudderstack-connection-modes.md#cloud-mode" >}}) using the HubSpot [new](https://developers.hubspot.com/docs/api/overview) and [legacy](https://legacydocs.hubspot.com/docs/overview?_ga=2.34803302.670362313.1663315856-97001172.1658910392) (deprecated soon) API.

Find the open source code for this destination in the <a href="https://github.com/rudderlabs/rudder-transformer/tree/main/src/v0/destinations/hs">GitHub repository</a>.

## Links

This documentation is split into the following sections:

- [Sending events to HubSpot via the new API (v3)]({{< ref "destinations/streaming-destinations/hubspot/cloud-mode/new-api.md" >}})
- [Sending events to HubSpot via the legacy API]({{< ref "destinations/streaming-destinations/hubspot/cloud-mode/legacy-api.md" >}})

<br />

