> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cello.so/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot Reports

> This guide will walk you through exporting attribution and event reports from HubSpot

This guide will walk you through exporting attribution and event reports from HubSpot. You'll create a view in HubSpot and export it as a .csv file. However, keep in mind that steps may vary based on your specific HubSpot setup and its objects and properties.

For more detailed instructions, please refer to the [HubSpot documentation](https://knowledge.hubspot.com/) and specifically [Create and export a view](https://knowledge.hubspot.com/crm-setup/create-customize-and-manage-your-saved-views).

## Creating and Exporting a View

1. Navigate to your deals pipeline in HubSpot and create a new view.

<img src="https://uploads.developerhub.io/prod/d316/vldxle57eiy332pygcb8l0egqbt35snw2gpeyupb1jev6o9d9ak3sr8wxihw4bwo.png" alt="Create new view in HubSpot deals pipeline" />

2. In the view you just created, click **Apply Filter** to show only deals where Cello's referral code (`ucc`) is known.

<img src="https://uploads.developerhub.io/prod/d316/pn2opjixb8azffhhbz1ui9970ncbq5r4nykxzadxmfwzkmaz2v3614w720ya8s47.png" alt="Apply filter for Cello referral code (ucc)" />

3. Select the required columns for the **Attribution & Event report**. Make sure that the exported records can be linked with the records in the **Purchases report** via a common field, either the `Referred Account ID` or Cello's referral code (`ucc`). The Attribution & Event report should, at the very least, contain the following fields:
   * `Referred Account ID` (which equates to the `Internal Account ID`)
   * `Cello's referral code (`ucc`)`
   * `Custom Event`
   * `Create Date`
   * `Last Modification Date`

<img src="https://uploads.developerhub.io/prod/d316/72ahiav1au8e9p7r20asyq2uwivp3a4xmj2hjl4n1t0y96rfvh8horfm59xpa81b.png" alt="Select required columns for Attribution & Event report" />

4. Save the view.
5. Finally, click **Export** to export the view to a .csv file.

<img src="https://uploads.developerhub.io/prod/d316/nchy37btoyq1x223oub6k2rc7jlii9az7xb03v70mwe8vatpwpi5fldfa64m5no5.png" alt="Export view to CSV file" />

With these steps, you should be able to successfully create and export your custom HubSpot reports for use with Cello.
