# creating an API key

**URL:** <https://community.hubspot.com/t/creating-an-api-key/71448>\
**Category:** APIs & Integrations\
**Created:** [December 18, 2022, 4:44am UTC](https://community.hubspot.com/t/creating-an-api-key/71448 "2022-12-18T04:44:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDS1](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SDS1](https://community.hubspot.com/u/SDS1)\
**Post date:** [December 18, 2022, 4:44am UTC](https://community.hubspot.com/t/creating-an-api-key/71448/1 "2022-12-18T04:44:16Z")

</div>

trying to get some help creating an API key to connect a custom salesforce. i am trying to use postman but not sure what my best options or steps are.if anyone has any tips or could offer some guidance itd be much appreciated.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 19, 2022, 10:42pm UTC](https://community.hubspot.com/t/creating-an-api-key/71448/2 "2022-12-19T22:42:08Z")

</div>

Hi, @SDS1 👋 API keys for HubSpot portals have been depreciated and can no longer be created. You’ll need to either create a [Private App](https://developers.hubspot.com/docs/api/private-apps) or create an App and [set up OAuth](https://developers.hubspot.com/docs/api/working-with-oauth) to handle the Authorization.

Can you provide any additional details about your project? This can help the community to understand what you are trying to accomplish.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![GVillegas4](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@GVillegas4](https://community.hubspot.com/u/GVillegas4)\
**Post date:** [September 16, 2025, 8:01pm UTC](https://community.hubspot.com/t/creating-an-api-key/71448/3 "2025-09-16T20:01:26Z")

</div>

Hey Jaycee, i’m trying to use this integration with GTM Serer Side [Hubspot Server-Side Tracking Connection Guide](https://stape.io/blog/how-to-connect-website-with-hubspot-using-server-side-tracking#how-to-track-custom-behavioral-events-in-hubspot) How can i get the HubSpot API Key

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 16, 2025, 9:33pm UTC](https://community.hubspot.com/t/creating-an-api-key/71448/4 "2025-09-16T21:33:47Z")

</div>

Hey, @GVillegas4 👋 I’d reach out to the support for that app and clarify if they are referring to the Developer API key. If so, you can find more details here on what it is and where to find it — [**Developer API Key**](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/overview#developer-api-keys) and [**Manage Keys**](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/manage-apps-in-hubspot#manage-keys) **. —** Jaycee
