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

# HubSpot

> Connect iDenfy to HubSpot to run business verification (KYB) with sanctions screening on company records and send identity verification (KYC) links from contact records, with results written back to the CRM.

## Overview

The iDenfy app for HubSpot brings business and identity verification into your CRM. Your team runs checks from HubSpot company and contact records. Results are written back to the record automatically, so nobody has to copy data between HubSpot and the iDenfy dashboard.

> [card] [Connect HubSpot](#quick-start)
>
> Install the app with your HubSpot account and add your iDenfy API keys.

> [card] [Verify Companies (KYB)](#business-verification-on-company-records)
>
> Run a KYB check with sanctions, PEP and adverse media screening from a company record.

> [card] [Verify Contacts (KYC)](#identity-verification-on-contact-records)
>
> Create an identity verification link for a contact, with optional AML screening.

> [card] [Results in the CRM](#how-it-works)
>
> Statuses and decisions update on the record when iDenfy finishes the review.

***

## How It Works

The app adds three parts to your HubSpot account:

| Part | Where it appears | What it does |
| - | - | - |
| **iDenfy business verification** card | A tab on **company** records | Starts a KYB check or a sanctions-only screening, and shows the company's verification status |
| **iDenfy identity verification** card | A tab on **contact** records | Creates an iDenfy verification link for the contact, and shows the verification status |
| **Settings** page | **Connected Apps → iDenfy → Settings** | Stores your iDenfy API keys, webhook signing key, and screening options |

The cards talk to the iDenfy connector at `hubspot-app.idenfy.com`. The connector reads the record through the HubSpot OAuth token granted at install, sends the request to iDenfy with your API keys, and stores the session.

When iDenfy finishes a review, it sends a webhook to the connector. The connector then writes the result to the HubSpot record and, if the timeline permission was granted, to the record's activity timeline. The card shows the new status the next time it loads.

***

## Quick Start

> [!NOTE]
>
> **Requirements**
>
> * An iDenfy account with an API key pair ([see pricing](https://idenfy.com/pricing-plans-v4/)). Use **production** keys for live checks.
> * KYB enabled on your iDenfy account, if you plan to verify companies.
> * A HubSpot user who can install apps (a **Super Admin**, or a user with **App Marketplace** access).
> * A HubSpot user with the **Customize record page layout** permission, to add the cards to record pages (step 3).

**1. Install the App in HubSpot**

Open [hubspot-app.idenfy.com](https://hubspot-app.idenfy.com) and click **Connect to HubSpot**. Sign in to HubSpot, choose the account to connect, and approve the requested permissions.

| Permission | Required | Why the app needs it |
| - | - | - |
| **Companies** (read and write) | Yes | Pre-fill the KYB form from the company record and write verification results back |
| **Contacts** (read and write) | Yes | Pre-fill the contact's name and write verification results back |
| **Company and contact properties** (schema write) | Yes | Create the iDenfy properties that hold verification results |
| **Timeline** (read and write) | Optional | Add verification events to the record's activity timeline |

If you skip the timeline permission, results are still written to the record properties. They just don't appear as timeline events.

**2. Add Your iDenfy API Keys**

In HubSpot, click the **Settings** icon, go to **Integrations → Connected Apps**, open **iDenfy**, and select the **Settings** tab.

Fill in:

* **iDenfy API key** and **iDenfy API secret**: from [Dashboard → Settings → API Keys](https://documentation.idenfy.com/guides/dashboard/settings/api-keys.md).
* **Webhook signing key**: a secret value of your choice. You set the same value on the iDenfy webhooks in step 4.
* **KYB flow ID** (optional): leave blank to use your account's default KYB flow.

Click **Save settings**. The page confirms with **Settings saved. iDenfy is connected.**

> [!NOTE]
>
> Credentials are stored encrypted and used only for the HubSpot account they were saved in. The fields stay empty after saving; leave a field blank later to keep the stored value. See [Settings](#settings) for the other options on this page.

**3. Add the Cards to Record Pages**

HubSpot doesn't show app cards until an admin places them. For **companies**, and again for **contacts**:

1. Go to **Settings → Data Management → Objects → Companies** (or **Contacts**) and open **Record Customization**.
2. Open the view you want to change, for example **Default view**.
3. Add a tab, or pick an existing one, click **Add card**, and choose **iDenfy business verification** (on companies) or **iDenfy identity verification** (on contacts).
4. Save the view.

See HubSpot's guide to [installing and managing app cards](https://knowledge.hubspot.com/integrations/install-and-manage-app-cards) for details.

**4. Set Up iDenfy Webhooks**

In the iDenfy dashboard, go to [Settings → Notifications](https://documentation.idenfy.com/guides/dashboard/settings/system-notifications-webhooks-emails.md) and create a webhook for each event below:

* **Receiver:** `https://hubspot-app.idenfy.com/webhooks/idenfy`
* **Signing key:** the same value you entered as **Webhook signing key** in step 2

| Event | Needed for |
| - | - |
| `COMPANY REVIEW` | KYB results on company records |
| `COMPANY AML REVIEW` | Updated sanctions and PEP decisions on company records |
| `ID VERIFICATION AUTO FINISHED` | KYC results on contact records |
| `ID VERIFICATION MANUAL FINISHED` | KYC results after a manual review |

> [!WARNING]
>
> If the signing key doesn't match, the connector rejects the webhook and results never reach HubSpot. You can still pull a KYB result by hand with **Refresh from iDenfy** on the company card.

**5. Run Your First Check**

Open a company record, select the tab with the **iDenfy business verification** card, and click **Run KYB check**. See [Business Verification on Company Records](#business-verification-on-company-records).

***

## Business Verification on Company Records

The **iDenfy business verification** card pre-fills the company name and registration country from the HubSpot record.

| Field | Notes |
| - | - |
| **Company name** | Required. Use the exact registered name for the best registry match. |
| **Registration country** | Required. Pre-filled from the record's country when it can be matched. |
| **Registration number** | Optional, but improves registry matching. |

The card has three actions:

| Button | What it does |
| - | - |
| **Run KYB check** | Creates the company in iDenfy and starts registry and sanctions screening. Shows as **Run new KYB check** once the company has been checked before. |
| **Sanction screen only** | Screens the company name for sanctions, PEP and adverse media without a full KYB check, and reports the number of matches. Shows as **Re-screen sanctions** once a KYB check exists, and re-runs that check's screening. |
| **Refresh from iDenfy** | Pulls the latest result from iDenfy straight away, without waiting for the webhook. It also lists which automated checks ran, which were skipped, and which reports are available. |

Once a check exists, the card shows:

* **Status** and **Decision**: the company's progress in iDenfy and the final approve or deny decision, with the deny reason if there is one.
* **Sanctions / PEP**: `NO_FLAGS`, `FLAGS_FOUND`, `TRUE_POSITIVE` or `FALSE_POSITIVE`.
* **Adverse media** status and the number of sanction **Matches**.
* **iDenfy company ID**: use it to find the company in the iDenfy dashboard.
* **Open the verification form**: a link to the KYB form. Send it to the company if iDenfy needs more information, such as documents or beneficial owners.

> [!TIP]
>
> If **Refresh from iDenfy** says checks were skipped, required data is usually missing, for example a registration number. Add it and run a new check.

***

## Identity Verification on Contact Records

The **iDenfy identity verification** card pre-fills the contact's first and last name from the HubSpot record.

1. Check the names, and keep **Run AML screening (sanctions, PEP, adverse media)** selected if you want the person screened.
2. Click **Create verification link**.
3. Copy the link from **Open the verification link** and send it to the contact.

The app doesn't email the link itself. Send it through your usual channel, such as a HubSpot email or sequence.

Once the contact completes the verification, the card shows the **Status** (`APPROVED`, `DENIED`, `SUSPECTED` or `EXPIRED`), the **AML screening** result, and the iDenfy **Scan reference**. Click **Refresh** to reload it. To start again, for example after a link expired, click **Create new verification link**.

***

## Settings

All options are on the **Settings** tab under **Connected Apps → iDenfy**.

| Setting | Default | What it does |
| - | - | - |
| **iDenfy API key** / **iDenfy API secret** | — | Your iDenfy API key pair. Leave blank to keep the stored value. |
| **Webhook signing key** | — | Must match the signing key on your iDenfy webhooks. |
| **KYB flow ID** | Account default | The KYB flow to use for company checks. |
| **Sanction match threshold** | `80` | Minimum match score (0–100) for a sanction profile to count as a hit. Lower it to catch more possible matches, raise it to reduce false positives. |
| **Submit KYB forms for screening immediately** | On | Submits the company for screening as soon as the check starts, instead of waiting for the company to complete the form. |
| **Automatically start a KYB check when a company is created** | Off | Starts a KYB check for every new HubSpot company. |

> [!WARNING]
>
> With automatic KYB checks on, every new company record starts a billable check. Turn it on only if every company in your CRM needs verifying.

***

## Disconnect and Uninstall

* **Change credentials:** enter new values on the **Settings** tab and click **Save settings**.
* **Uninstall:** in HubSpot, go to **Integrations → Connected Apps**, open **iDenfy**, and choose **Uninstall**. The cards disappear from your records.

Removing the app doesn't delete companies or verifications from iDenfy. Delete those from the iDenfy dashboard if needed. Also remove the webhooks from step 4 in the iDenfy dashboard.

***

## Data and Privacy

* Documents, photos and biometric data stay with iDenfy. They are never copied into HubSpot.
* HubSpot records receive verification statuses, decisions, screening results and iDenfy references.
* Your iDenfy API credentials are stored encrypted and used only for the HubSpot account they were saved in.

***

## Troubleshooting

> [accordion] “iDenfy is not connected” on a card
>
> No API key pair is saved for this HubSpot account. Add your iDenfy API key and secret on the app's **Settings** tab.

> [accordion] “Settings saved, but no API credentials are set yet”
>
> The options were saved, but the API key or secret is missing. Fill in both fields and save again.

> [accordion] Results don't update on the record
>
> Check that the iDenfy webhooks point to `https://hubspot-app.idenfy.com/webhooks/idenfy` and that their signing key matches the **Webhook signing key** in the app settings. You can review failed deliveries under [Debugging Notifications](https://documentation.idenfy.com/guides/dashboard/settings/system-notifications-webhooks-emails.md#debugging-notifications). On company records, **Refresh from iDenfy** fetches the result directly.

> [accordion] The cards don't appear on records
>
> App cards must be added to the record view by an admin. See step 3 of the [Quick Start](#quick-start).

> [accordion] No timeline events
>
> The optional timeline permission wasn't granted during install. Reinstall the app from [hubspot-app.idenfy.com](https://hubspot-app.idenfy.com) and approve it.

> [accordion] Registration country is empty
>
> The record's country couldn't be matched to a country iDenfy accepts. Pick it from the **Registration country** list.

Need help? Contact [iDenfy support](https://www.idenfy.com/contact/).


## Related topics

- [No-Code Integrations](https://documentation.idenfy.com/integrations/overview.md)
- [Other SDK Plugins](https://documentation.idenfy.com/sdks/other-plugins.md)
- [Adobe Commerce](https://documentation.idenfy.com/integrations/adobe-commerce.md)
- [Test a rule against past transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/rules/test-a-rule-against-past-transactions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.