Deployment process for private app?


#1

I’m a newbie here… We are going to be using the marketing, blog, crm and possibly website hosting capabilities of Hubspot. My task will be to migrate some of our existing platform over to hubspot, and build the integrations that allow the joint system to function going forward.

I’m missing part of the big picture about how to do this. Does portal = hubspot account? How do I address my API requests to my account/data?


#2

@ddraper Yes a portal equals a HubSpot account. I would check out the API docs.

There are two ways you can address your calls to your portal.

  1. HAPI Key
  2. OAUTH

The docs will walk you through how you can set up either.

If you want to test some things out you could look into setting up a Dev portal first so you don’t have to mess with your actual portal until you have your solution working the way you want it to.

Here are some links as well to help:
Auth Overview: http://developers.hubspot.com/docs/methods/auth/oauth-overview
OAUTH overview: http://developers.hubspot.com/docs/methods/oauth2/oauth2-overview
Sign up page for a dev portal: https://app.hubspot.com/developers/signup?__hssc=20629287.8385.1479817525810&__hstc=20629287.2ff4c9bf49314109908a27d94528807e.1467300667712.1479485750450.1479817525810.156&__hsfp=2651035079&hsCtaTracking=b4857ff3-6ca3-4fa8-b23c-6f79b958d7cb|20e606fd-fc0f-405c-8699-5d8611d5a6a3


#3

Thank you @pmanca — I discovered where I could create an HAPI key for my account in the marketing tool — now the pieces make sense. (BTW, I was looking at the API docs, and it was very easy to create a test portal — it just wasn’t clear how that related to my app.)