Hello! Is it possible to integrate HubSpot into our application? If it is, where can we embed the HubSpot code to establish the connection with our application?"
Hi!
There is mulitple ways to connect you application to hubspot. Following, you will find two off the options:
- Connect with their API (HubSpot APIs | Getting started). This is a modern API with with good documentation.
- Embed a Hubspot form (Set up and style a HubSpot form on an external site). Create a form in hubspot and embed it directly into your app.
Hopefully one of this links will help you out
How can we embed the form into the app?
You can use the Coded component.
Take the code that you can find in your hubspot account and paste it into the correct places in the coded component.
Here you can define all the scripts you need and paste the HTML/CSS into the coded component.
Check this link for more info about the coded component and how it works. We do also link to an example in showroom:
Thank you for your help!
We wish to setup a chat widget and therefore need to include the code shown in the photo to every page in our application. Normally this would be done in the body of the HTML code but how can we do this in appfarm? I do not understand how this can be done using a code component, since this is not on page level.
Hi,
This is possible, please see this article.
You may just add a custom header tag to the Dev environment (the same must be done to Test and/or Prod) og type Script URL and add the url, and set the async and defer properties to true.