Create an API key for the personal access token
A personal access token is generated from a personal 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: any name you will recognize, for example
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 API key you just created, click + Token and fill in the New Token dialog.
- Name: any name you will recognize, for example
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. If you lose it, generate a new token.
- Copy the Personal Access Token across.

Link the Account
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.
Use Actions