Create a Client API token
StackOne authenticates with a Glean-issued Client API token. Creating one needs administrative access to the Glean Admin Console, and GLOBAL tokens can only be created by a Super Admin.
Open Client API Token Settings
Sign in to the Glean Admin Console, go to Platform then Client API Token Settings, and click Add New Token.
Configure the token
Complete the token form, then create the token.
- Description, a name that identifies what the token is used for
- Permissions, USER for a token bound to a single person, or GLOBAL for a token that can act as any user
- Scopes, the API scopes the token may use. They cannot be changed after creation
- Expires, an optional expiry date
- User Email, required for USER tokens, and it sets the person the token acts as
Copy the token
Copy the token secret as soon as it is created. Glean shows it only once and it cannot be retrieved later.
Fill in the connection fields
Enter the token and instance details in StackOne Hub.
- API Token, the token secret you copied
- Instance Name, the part of your Glean backend host before
-be.glean.com. For a backend host ofacme-prod-be.glean.comthe instance isacme-prod - Act As Email, only for GLOBAL tokens. Set it to the email of the user the token should act as, and leave it empty for USER tokens
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Instance Name
- API Token
- Act As Email (Optional)
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.