Connect NetSuite with HubSpot: How to Obtain the HubSpot API Key

Some companies like yourself could be relying on HubSpot for your marketing and sales activities.

And if you are using NetSuite as well, the wisest investment you can make for your business is to integrate the two applications.

Integrating HubSpot with NetSuite has been made easy nowadays.

There are plenty of ready-made apps to choose from in the market that offers hassle-free / code-free integration between HubSpot and NetSuite.

However, the drawback of buying a ready-made app is the lack of flexibility and customization options.

For example, you may have a project that involved using HubSpot’s CRM Extension card. Customizing the “CRM Extension Card” is not a common inclusion to the package from third-party integrators.  

In this article, we are going to show you the initial steps in configuring an app in HubSpot to show you how to integrate your HubSpot application to your NetSuite account.  

  1. Log in to your HubSpot account and go to Apps.
    undefined
  2. Create a free developer account OR continue with your existing one.
    undefined
  3. Click on “Create an app”.
    undefined
  4. Enter the details for your app.
    undefined
  5. Take note of the details of the app.
    undefined
  6. Create a test account / environment.
    undefined
  7. Click on “Integrations”.
    undefined
  8. Click on “Generate API key”.
    undefined
  9. Copy the HubSpot API key.

Once you obtained the HubSpot API key, you can now use this to gather information from the HubSpot application using NetSuite API.

https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=

See sample snippet that aims to get all contact details from HubSpot:  

var returnMessage = https.get({
		url: "https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=<hapikey>",
		headers : headers
});
var objResult = JSON.parse(returnMessage.body);

LEACC Consulting is a team of NetSuite Certified Developers with IT experience solely dedicated to NetSuite technologies for eight years. We are experts in NetSuite integrations. See list of NetSuite integration projects that we completed in this page

Do you have NetSuite Integration needs? Do you need help with a solution like this? Click on the link below and let’s have a chat about your project requirements!

Contact us for your NetSuite needs!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s