What is the different for personal key and develop api key?

hubspot development portal has two keys “Personal access key” and “Developer API Key”. What are the different in terms of integrating with Hubpost?

When I run “hs init” to initialise a project, it asks me to provide “Peronsal access key”.

? Choose your preferred method of authentication
Open HubSpot to copy your personal access key
❯ Enter existing personal access key

I wonder why it only requires peronsal key not develop key? I feel personal key is only for demo or testing. In production case, it should be develop api key right? How can I make the project to develop api key?

Hey @JZhao,

the personal key is being used for auth your user to the HubSpot portal, while the dev API key is being used to auth the app (very loose description).

If you’re running hs init, you’re establishing basically your private login into the selected portal. You should never ever share this personal access key with anyone or anywhere.

You need the personal access token to use any of the CLI commands.

The dev API key are required to establish a connection to your app.

best,

Anton