Generate a Harness API key
Create a personal or service account API key in the Harness platform to authenticate API requests.
Sign in to Harness
Sign in to your Harness account.
- Click your profile icon in the bottom-left to go to your Profile Overview
Create a new API key
Under My API Keys, click + API Key to create a new key and give it a descriptive name.
Find your account identifier
Your account identifier uniquely identifies your Harness account.
- Check your browser address bar when signed in to Harness.
- Format:
app.harness.io/ng/account/{ACCOUNT_ID}/... - Example: if your URL is
https://app.harness.io/ng/account/abc123DEF456/home/get-started, your account identifier isabc123DEF456
Linking the Account from the Hub
Navigate to the Hub
Use one of the three Linking Account Methods to access the Hub.
Fill out the fields
Fill out the following fields using details from your provider:
- API Key
- Account Identifier
If the account linking is successful, you will see the newly linked account in your Accounts page.