--- title: "Connecting HubSpot" slug: "connecting-hubspot" updated: 2026-11-12T18:59:43Z published: 2026-11-12T18:59:43Z canonical: "help.goveagle.com/connecting-hubspot" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.goveagle.com/llms.txt > Use this file to discover all available pages before exploring further. # Connecting HubSpot GovEagle can sync deals from your HubSpot CRM into your opportunity pipeline, so your team works proposals in GovEagle while HubSpot stays the source of truth for deal data. ## Overview Once configured, the HubSpot integration: - Creates a GovEagle opportunity for each HubSpot deal in the pipelines you choose - Maps HubSpot deal stages to GovEagle statuses - Keeps mapped deal properties in sync (name, close date, amount, owner and others) - Brings a deal's notes, emails, calls, meetings and tasks into the opportunity's Activity feed - Imports files attached to a deal into the opportunity - Checks HubSpot every 10 minutes and updates only the deals that changed The sync is one way and read-only. GovEagle never creates, edits or deletes anything in HubSpot. ## Prerequisites Before you begin, make sure you have: 1. **A HubSpot service key** for the account you want to connect, with the permissions listed below 2. **GovEagle Admin access.** Only organization administrators can add and configure integrations 3. **HubSpot enabled for your organization.** The HubSpot integration is turned on by the GovEagle team. Contact us to get access ## Part 1: HubSpot Setup ### Required permissions Create a service key in HubSpot with the following read-only scopes. GovEagle does not need any write scope. | HubSpot scope | Used for | Needed when | | --- | --- | --- | | `crm.objects.deals.read` | Deals, deal properties, pipelines and stages | Always | | `crm.objects.contacts.read` | Notes, calls, meetings and tasks logged on a deal | Any of those activity types is turned on | | `sales-email-read` | The content of emails logged on a deal | Emails is turned on | | `files.read` | Files attached to a deal | HubSpot Attachments is turned on | | `crm.objects.owners.read` | Deal owner names, and matching the deal owner to a GovEagle user | Optional, recommended | If you plan to sync everything, grant all five. ### Create the service key 1. Sign in to HubSpot as a super admin, or as a user with developer tools access 2. Open the service keys page in your account's development settings 3. Create a new service key and select the scopes from the table above 4. Copy the key. You will paste it into GovEagle in the next part Keep the key private. Anyone who has it can read the data those scopes allow. ## Part 2: GovEagle Configuration ### Step 1: Add the HubSpot integration 1. In GovEagle, open **Settings** and click the **Integrations** tab 2. Click **Add Integration** and select **HubSpot** 3. Enter an **Instance Name**. This is a label for your own reference, such as your company name 4. Paste your **Service key** 5. Click **Connect** GovEagle reads your HubSpot account ID from the key, so you do not need to enter it. A HubSpot card appears on the Integrations page. Nothing syncs until you finish the steps below. ### Step 2: Choose a sync mode On the HubSpot card, click **Manage Opportunity Sync**, then choose how deals are discovered. | Mode | Behavior | | --- | --- | | All records | Discovers new deals in the selected pipelines and re-syncs existing ones | | Selected only | Only re-syncs deals already imported into GovEagle. Use this if you want to import deals one at a time | | Disabled | No sync runs | You can change the sync mode at any time. ### Step 3: Select deal pipelines Choose which HubSpot pipelines to sync. Deals in other pipelines are ignored. ### Step 4: Configure field mappings **Stage to status.** Pick a default GovEagle status, then map individual HubSpot deal stages to GovEagle statuses. A stage with no mapping uses the default status. See Customizing Opportunity Statuses to change the statuses available. **Deal properties.** Each row maps one HubSpot property to a GovEagle field. A property can map to: - A built-in field: Submission Date, Assignee (Email), Summary, Issuing Agency, Estimated Value, Solicitation #, NAICS Code, Contract Type or Period of Performance - A custom field. See Custom Opportunity Fields to create them - **Opportunity note**, which keeps the property's value as a note on the opportunity Each row has a switch to turn that mapping off without deleting it. **Assignee (Email).** Map the Deal owner property, or a property that contains an email address. GovEagle matches the email to a user in your organization and assigns the opportunity to them. If no user matches, no one is assigned. This only applies when the opportunity has no assignee yet. **Dates.** HubSpot stores date properties as midnight UTC. GovEagle pins them to noon UTC so the date does not shift by a day in US time zones. ### Step 5: Choose activity and attachments Under **Activity Sync**, turn on the types you want in the opportunity's Activity feed: Notes, Emails, Calls, Meetings and Tasks. Under **HubSpot Attachments**, turn on **Enable file sync** to import files attached to a deal. When you save, GovEagle checks that your service key can read each type you turned on. If a permission is missing, the save is refused. Add the scope to the key in HubSpot and save again. ### Step 6: Run the first sync 1. Return to **Settings → Integrations** 2. On the HubSpot card, click **Resync** 3. The card shows "Syncing opportunities..." while it runs. You can leave the page ### Step 7: Verify 1. Open the **Opportunities** page. Synced opportunities show a HubSpot icon 2. Open one and confirm the mapped fields, activity and files came through ## Importing a Single Deal To let users import deals one at a time, an admin turns on **Allow URL Import** in the HubSpot sync settings. ![Image](https://cdn.document360.io/4913773d-4d09-45cd-a985-8413b178b1ac/Images/Documentation/CleanShot%202026-11-12%20at%201.58.10%20PM@2x.png) 1. On the Opportunities page, click the **New** dropdown 2. Select **Import from HubSpot** 3. Paste the deal's HubSpot URL. It looks like `https://app.hubspot.com/contacts/<account id>/record/0-3/<deal id>` 4. Click to import The opportunity is created right away from the deal's fields, and its notes, emails and files follow within a few moments. If the deal was already imported, GovEagle opens the existing opportunity and does not create a duplicate. The deal must be in a pipeline you selected for syncing. ## Working with HubSpot Opportunities ### Identifying them Opportunities synced from HubSpot show a HubSpot icon in the opportunities list and on the Kanban board, and a **Synced from HubSpot** link on the opportunity page that opens the deal in HubSpot. ### Fields HubSpot controls - **Title and status** come from HubSpot and cannot be changed in GovEagle while they are mapped. Rename, Change Status and dragging the card between Kanban columns are disabled. Change them in HubSpot instead - **Submission Date** can be edited in GovEagle. Doing so unlinks it from HubSpot for that opportunity, so later syncs leave your date alone. You can relink it at any time to restore the HubSpot value - **Detail fields** mapped from HubSpot, such as Estimated Value and Issuing Agency, show a HubSpot badge. If you edit one in GovEagle, the next sync of that deal replaces your edit with the HubSpot value ### Activity Notes, emails, calls, meetings and tasks from HubSpot appear in the Activity feed labeled **HubSpot Sync**, with their type. They are marked "Managed in HubSpot" and cannot be edited or deleted in GovEagle. If one is deleted in HubSpot, it is removed from GovEagle on the next sync of that deal. Notes your team writes in GovEagle are never touched. ### Files Files attached to a deal are imported into a HubSpot folder in the opportunity's assets. If a file is replaced in HubSpot, GovEagle updates the same document. Files removed in HubSpot are kept in GovEagle. ### Changes Each time a sync changes a mapped field, the change is recorded in the opportunity's Changes list as "HubSpot synced", with the old and new values. ### Syncing one opportunity now Open the opportunity's actions menu and choose **Sync from HubSpot** to refresh it without waiting for the next scheduled sync. ## How Syncing Works - GovEagle checks HubSpot every 10 minutes - After the first full sync, each run reads only the deals that changed in HubSpot since the last one. Adding a note, email or file to a deal counts as a change - Saving a change to your mappings makes the next run read every deal again, so the new mapping applies everywhere - If a single deal cannot be synced, the rest still sync. The HubSpot card shows how many deals could not be synced, and the next run tries them again ## Managing the Integration - **Pause syncing:** set the sync mode to **Disabled**. Set it back to resume - **Change mappings:** click **Manage Opportunity Sync**, update the mappings and save ## Troubleshooting **"Could not connect HubSpot. Check the token and required read permissions."** The service key is wrong, or it lacks `crm.objects.deals.read`. Check the key and its scopes in HubSpot. **A mapping will not save** The key is missing a permission for an activity type or for attachments that you turned on. Add the scope from the table above, or turn that type off. **"HubSpot sync failed. Check credentials and mappings."** The key was revoked or a scope was removed after setup. Sync stops for the whole account until the key is fixed. Restore the scope, or create a new key and reconnect with it. **Owners show as numbers, or no one is assigned** The key is missing `crm.objects.owners.read`. Nothing else fails without it, but owner names cannot be read and the deal owner cannot be matched to a GovEagle user. **Files are not appearing** Check that **Enable file sync** is on and the key has `files.read`. Files larger than 100 MB are skipped. **A deal is not syncing** Check that the deal is in a pipeline you selected and that the sync mode is not Disabled. In **Selected only** mode, new deals must be imported by URL first. **"N HubSpot deals could not be synced. The next sync tries again."** Those deals had a problem of their own, such as an activity that could not be read. Other deals are unaffected. If the message does not clear after a few runs, contact support. **Need help?** Contact your GovEagle Customer Success team or email support@goveagle.com.