Create an API key
Any Harness user can create personal API keys from their profile.
Open your profile
Sign in to your Harness account, then click your name at the bottom of the left navigation.

Open API keys
Select the API Keys tab.

Add an API key
Under My API Keys, click + API Key.
- Name:
StackOne Integration - Click Save.

Generate the personal access token
Tokens belong to an API key. Generate one from the key you just created.
Create a token
On the StackOne Integration key, click + Token and fill in the New Token dialog.
- Name:
StackOne Integration - Choose an Expiration. The connection stops working when the token expires, so pick a period that suits you.
- Click Generate Token.

Copy the token
Click the copy icon next to Value to copy the token, then click Close.
- The token starts with
pat.. - The token value is only displayed once and cannot be retrieved later. Store it securely for use later.
- Paste it into the Personal Access Token field in StackOne Hub.

Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Personal Access Token
Connect
- Click Connect
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup
If the account linking is successful, you will see the newly linked account in your Accounts page.