Skip to content

ChatBees/chatbees-hubspot-ui-extension

Repository files navigation

ChatBees HubSpot UI Extension Project

This project provides a comprehensive demonstration of the ChatBees Chatbot integrated with HubSpot.

Prerequisites

Before you can utilize this project, there are a few prerequisites that need to be met.

ChatBees Prerequisites

HubSpot Prerequisites

  • An active HubSpot account is required.
  • The HubSpot CLI should be installed.
npm install -g @hubspot/cli
  • A Sales Hub or Service Hub Enterprise subscription.

Currently, HubSpot UI Extention is in beta. You need to explicitly join beta product.

  1. Go to Product Updates page.
  2. Click "In beta", input "crm development" in the search bar, and click "Join Beta" of "CRM development tools to build UI extensio..."

Opt in CRM Development Tools

Developer Account

If you don't have Enterprise subscription, you can create a developer test account to try it. Follow below steps:

  1. Go to HubSpot Developers, and click "Create a developer account".
  2. Click "Create App Developer account", and follow the steps.
  3. Follow the steps above to Join Beta for UI Extention.

Install the UI Extention

Initialize HubSpot Account

hs init

Setup ChatBees Secrets

Enter the secret after each command below when prompted:

hs secrets add CHATBEES_AID
hs secrets add CHATBEES_COLLECTION_NAME
hs secrets add CHATBEES_API_KEY
hs secrets add CHATBEES_MAX_REFS # optional, defaults to 3
hs secrets list # list all secrets

Upload this Extension to your HubSpot Account

hs project upload

You can now customize the right sidebars of the Contacts and Tickets sections in HubSpot to include a ChatBees card.

Local Development

The HubSpot CLI allows you to run this project locally for quick testing and iteration. To get started, create a .env file under src/app/app.functions with all the secrets.

CHATBEES_AID=YOUR_CHATBEES_ACCOUNT_CODE
CHATBEES_COLLECTION_NAME=THE_COLLECTION_NAME
CHATBEES_API_KEY=YOUR_API_KEY

Then execute the following HubSpot CLI command in your project directory and follow the prompts:

hs project dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published