HubSpot Plugin
HubSpot Integration plugin is an easy way to connect a chatbot with your HubSpot database.
Besides this guide, we have also prepared a video tutorial that can be found on this link: https://www.loom.com/share/a7b9b7be730340aaaecf8f3fec84f468
Step 1. Add the plugin to your chatbot
In the "Build" section click "Add new interaction / plugin":
![image (86).png 1113](https://files.readme.io/1a42b5a-image_86.png)
In the pop-up window, choose the "Plugins" tab:
![image (88).png 1528](https://files.readme.io/3b9a600-image_88.png)
Find the HubSpot Integration plugin and click the "Add" button:
![image (89).png 1527](https://files.readme.io/5ac0ee2-image_89.png)
Step 2. Get HubSpot API-key
Go to https://www.hubspot.com/ and log in to your account.
Click the cogwheel icon in the upper-right corner of the screen:
![image (90).png 1149](https://files.readme.io/57a9cc5-image_90.png)
Find and click "Integrations" in the big menu on the left and then "API Key" in a submenu:
![image (93).png 1442](https://files.readme.io/0c5560b-image_93.png)
Click "Create Key" button;
![image (92).png 1463](https://files.readme.io/ce12617-image_92.png)
Click "Copy" button to copy the key to the clipboard:
![image (94).png 1457](https://files.readme.io/a018d47-image_94.png)
Step 3. Configure HubSpot plugin on SnatchBot
Now go back to the SnatchBot Build section.
Find and click on the "Type of Inquiry" interaction (first one in the plugin).
In the [customVar hapikey=a1234567-987456-d123-4e9876543] formula, replace the default key (a1234567-987456-d123-4e9876543) with the key you copied from HubSpot.
![image (95).png 1461](https://files.readme.io/5282881-image_95.png)
Now, when your customer reaches the plugin and answer all of its questions the new entry will appear in your HubSpot account:
![image (96).png 1309](https://files.readme.io/0b0c2c6-image_96.png)
Updated over 3 years ago