Alhena
  • Introduction
  • Getting Started
  • Architecture
  • Reference
    • Website SDK
      • Configure Proactive Nudges
    • Product FAQs
    • Website chatsdk events
    • Website chatsdk APIs
    • Chat SDK api and events examples
      • Open other external widget once human transfer is initiated
      • Show the Alhena AI widget only when someone scroll the page by 5 px
    • Website SDK - Custom data
      • Website SDK - Customer data with Agent
    • Website SDK - Internationalization
    • API Reference
      • API calls
    • Device Compatibility
  • Tutorials
    • AI Training
      • Training Steps
      • Training Data Sources
        • Websites
        • Youtube videos
        • Google Drive
        • Twitter Pages
        • Discord Messages
        • Confluence Pages
        • Upload Documents
        • Github
        • Zendesk Tickets
        • Freshdesk Tickets
        • Freshchat Tickets
        • Custom data sources
        • Shopify API
        • Woocommerce API
        • PDF Crawling
      • Training Frequently Asked Questions
    • Tuning Alhena AI Post Training
      • Best Practices for configuring the Alhena AI’s personality and guidelines
      • Adding Human Feedback for improving specific Questions
      • Adding to your knowledge base with FAQs
      • Boosting Products
      • Frequently Asked Questions - Tuning Responses
      • Frequently Asked Questions - Adding feedback and FAQs
    • QAing Al Conversations
      • Smart Flagging: Streamline Your AI Quality Assurance
    • Integrations
      • Alhena Website Chat SDK
        • Customizing Your Alhena Chat Widget
      • Integrating Alhena AI With Slack
      • Integrating Alhena AI With Discord
      • Integrating Alhena With Freshdesk
      • Integrating Alhena AI With Zendesk
        • Enabling Sunshine API For Website Tickets
      • Integrating Alhena AI With Email
      • Integrating Alhena AI With Shopify
      • Integration Alhena AI With Trustpilot
      • Integrating Alhena With Gorgias
      • Integrating Alhena With Kustomer
    • Alhena Tools
      • Integrating HubSpot Tool with Alhena AI
    • Notifications
    • Alhena Dashboard
      • Managing Team
  • Common Questions
  • Adding Search Button To Shopify
Powered by GitBook
On this page
  • How to Generate a HubSpot Private App Access Token
  • 1 · Prerequisites
  • 2 · Create (or Sign in to) your HubSpot Developer Account
  • 3 · Spin-up a Test Account
  • 4 · Inside the Test Account
  • 5 · Navigate to Private Apps
  • 6 · Configure the Private App
  • 7 · Reveal & Copy Your Token
  • 8. How to get internal attributes names
  1. Tutorials
  2. Alhena Tools

Integrating HubSpot Tool with Alhena AI

HubSpot Lead Generation: https://www.hubspot.com/

PreviousAlhena ToolsNextNotifications

Last updated 21 hours ago

Generate leads from conversations using HubSpot Tool powered by Alhena AI.

We have a HubSpot Tool Integration Option in AI settings Tab > Connect tools Tab

Then look for HubSpot - Lead generation (Click on Connect Button)

How to Generate a HubSpot Private App Access Token

Purpose A private-app access token (often called the “HubSpot API token”) lets a backend service—such as Alhena AI—make authenticated calls to the HubSpot CRM on behalf of one HubSpot account.

Never expose this token in client-side code or public repositories.


1 · Prerequisites

Requirement
Why you need it

HubSpot Developer account

Gives you a “Developer Dashboard” where you can spin up unlimited test portals.

Developer test account

A sandboxed HubSpot portal (a.k.a. ✦ Test Account) where you can try private apps safely.


2 · Create (or Sign in to) your HubSpot Developer Account

  1. Finish the short registration flow. (No credit-card needed.)

  2. You’ll land in the Developer Home.


3 · Spin-up a Test Account

  1. In the left nav, click Test accounts.

  2. Press Create developer test account.

  3. Name it (e.g., Alhena AI Sandbox) and click Create.

  4. Once created, click the new row to open the test account.


4 · Inside the Test Account

You’re now in the HubSpot CRM UI


5 · Navigate to Private Apps

  1. Click the ⚙️ Settings icon (upper-right).

  2. In the left sidebar pick Integrations → Private Apps.

  3. Press Create a private app.


6 · Configure the Private App

Field
Suggested value

App Name

Alhena AI Connector (Or any other name)

Description

Provides Alhena AI secure API access to HubSpot contacts.

6.1 Choose Scopes

At minimum check:

  • crm.objects.contacts.read

  • crm.objects.contacts.write

Click Create app.


7 · Reveal & Copy Your Token

  1. A modal appears—click Show token.

  2. Copy the token

8. How to get internal attributes names

In same page, go to Data Management > Properties > Click on any properties Eg. First Name

Note the internal name (Attribute name), in this case internal name is firstname (As mentioned below)

Go to and choose Sign up / Log in.

(These allow Alhena AI to read and update Contact records. Add more scopes later if your integration grows.)

Do not email or commit this token; treat it like a production password.

https://developers.hubspot.com/
developers.hubspot.com
developers.hubspot.com
[HubSpot lead generation tool settings]