Generate a Harness API key token
Create a personal API key and token in Harness. The token is the API Key value StackOne needs.
Sign in to Harness
Sign in on the Harness sign-in page with your Email and Password, then click Sign in.

Open your Profile Overview
Click your profile icon in the bottom-left corner of the navigation, then click Profile Overview in the menu that opens.

Create a new API key
On your Profile Overview page, find the My API Keys section and click + API Key.
- In the New API Key dialog, enter a Name for the key.
- Click Save.

Generate a token
Click + Token under the API key you just created.
- In the New Token dialog, enter a Name for the token.
- Set the Expiration — the dialog shows the exact date the token will expire.
- Click Generate Token.

Copy the token value
The token Value is displayed once — “Your new token has been generated. Please make sure to copy and store your token value somewhere safe, you won’t be able to see it again.”
- Copy the token value — it starts with
pat.(for examplepat.xxxx.xxxx.xxxx) — and paste it into the API Key field in StackOne Hub. - The token value is shown only once and cannot be retrieved later.
- Click Close.

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