APIs & Integrations

ldb
メンバー

Test/Dev/Staging Instance to connect to Segment

解決

I've generated an API key in my HubSpot instance to connect to my production Segment instance. I also have a dev/staging instance in Segment, and would like to mirror our production setup. Is there any way to create a test instance, or just test API key, that won't actually alter live data but will work when we insert the tracking code? I can create an entirely new HubSpot account but that's less ideal.

 

I see that you can create a test hub id, but it only lasts 90 days.

 

Thanks!

0 いいね!
1件の承認済みベストアンサー
lscanlan
解決策
元HubSpot社員
元HubSpot社員

Test/Dev/Staging Instance to connect to Segment

解決

Hi @ldb,

 

API keys are currently portal-wide. There's no way to create a key with limited permissions. It sounds like you already found this, but I'd suggest creating a test account through our documentation here: https://developers.hubspot.com/docs/faq/how-do-i-create-a-test-account. The account lasts 90 days but can be renewed. This way you can test things out without using your portal's API key.

 

 - Leland

Leland Scanlan

HubSpot Developer Support

元の投稿で解決策を見る

1件の返信
lscanlan
解決策
元HubSpot社員
元HubSpot社員

Test/Dev/Staging Instance to connect to Segment

解決

Hi @ldb,

 

API keys are currently portal-wide. There's no way to create a key with limited permissions. It sounds like you already found this, but I'd suggest creating a test account through our documentation here: https://developers.hubspot.com/docs/faq/how-do-i-create-a-test-account. The account lasts 90 days but can be renewed. This way you can test things out without using your portal's API key.

 

 - Leland

Leland Scanlan

HubSpot Developer Support