Hex is a collaborative data workspace for building, sharing, and iterating on analyses, notebooks, and data apps. The Frontegg integration connects to the Hex API using an API token to manage projects, runs, users, groups, collections, and data connections.
Prerequisites
Prerequisites
- A Hex workspace with Admin access (required to create workspace tokens)
In your Hex workspace, click Settings in the left sidebar.

In the Settings panel, select the API keys tab, then click New token under the Workspace tokens section.

In the New workspace token dialog:
- Enter a Description, for example
Frontegg Integration. - Set Expiration to No Expiry.
- Select the required API scopes:
| Scope | Access required |
|---|---|
| Sync semantic projects | Enabled |
| Projects | Read + Write + Run + Read queried tables |
| Users | Read + Write |
| Groups | Read + Write |
| Collections | Read + Write |
| Data connections | Read + Write |
| Cells | Read + Write |
| Guides | Read + Write |
- Click Generate token.

Copy the generated token immediately — it is shown only once and cannot be retrieved later.

Once you have your API token, enter it in the Frontegg portal:
- Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Hex.
- Enter the API Key you copied in the previous step.
- Click Save.
Keep your token secure
Keep your token secure
Never share or commit your API token to version control. If a token is compromised, revoke it from Settings → API keys and generate a new one.