Skip to main content

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.

1

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.

2

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
3

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 of acme-prod-be.glean.com the instance is acme-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

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Instance Name
  • API Token
  • Act As Email (Optional)
3

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.