Skip to main content

Authorization

Follow this guide to create a new Glean credential that will allow Nexla to authenticate to and exchange data with your Glean account.
glean_api_auth.png

Glean

Prerequisites

Before creating a Glean credential, you need to obtain an API token from your Glean workspace settings. The API token is required to authenticate with the Glean API.

To obtain your API token, you need to have a Glean account with admin access. Once you have access to your account, you can manage API tokens via the API tokens page within Workspace Settings. The API token is sent in the Authorization header with the Bearer prefix (e.g., Bearer {token}) for all API requests to the Glean API. For detailed information about API token setup and authentication, refer to the Glean API documentation.

Create a Glean Credential

  • To create a new Glean credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – Glean

GleanCred.png

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Domain

  1. Enter your Glean domain in the Domain field. This is your Glean domain identifier, which can be found in your Glean URL (e.g., if your Glean URL is https://{domain}-be.glean.com/, then {domain} is your domain identifier). The domain is used to construct the full endpoint URLs for API requests.

    Your Glean domain can be found in your Glean URL. The URL format is typically https://{domain}-be.glean.com/ where {domain} is your domain identifier. The domain is used to construct the full endpoint URLs for API requests to your Glean instance. For detailed information about finding your domain, see the Glean API documentation.

Bearer Token Authentication

  1. Enter your Glean API token in the API Token field. This is the API token you obtained from your Glean Workspace Settings. The API token is sent in the Authorization header with the Bearer prefix for all API requests to the Glean API.

    Keep your API token secure and do not share it publicly. The API token provides access to your Glean account and should be treated as sensitive information. Admins can manage API tokens via the API tokens page within Workspace Settings. The API token is sent in the Authorization header with the Bearer prefix for all API requests to the Glean API. For detailed information about obtaining and managing API tokens, see the Glean API documentation.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.