Skip to content

Hex

When you connect a Hex workspace to Oblique, Oblique will automatically sync the workspace, its users, and its groups.

As you add people to Hex, change their roles, move them between groups, remove their access, or add and delete groups, these changes are automatically synced to Oblique.

You can add multiple Hex workspaces to Oblique. Each is a separate integration, identified by a workspace name that Oblique takes from the email domain most of the workspace’s users share.

Oblique syncs the following from your Hex workspace.

Hex object Oblique object Capability
Users Accounts Read-only
Workspace Resources Read-only
Groups Resources Read-only
Roles Roles Read-only
Workspace membership Entitlements Read-only
Group membership Entitlements Read-only

Oblique syncs each Hex user as an Oblique account, including guests. Deactivated users and people who haven’t accepted their invitation aren’t synced.

Oblique automatically matches Hex accounts to users in Oblique. Hex accounts are matched to Oblique users by their email (email).

Oblique’s Hex integration is read-only. Oblique can’t make changes to your Hex workspace, its users and groups, or their roles.

Oblique syncs the following from Hex as resources:

  • The Hex workspace you connected
  • Each group in the workspace

Every user has an entitlement for the workspace. Each member of a group has an entitlement for the group.

Projects, and who they’re shared with, aren’t synced.

Oblique syncs Hex roles as Oblique roles.

Every entitlement from Hex is for exactly one role. Every member of a group has the Member role.

You must be an Admin in Hex to connect this integration.

If you don’t have sufficient permissions, create an install link so someone who does can connect the integration without being an Oblique admin.

The Hex integration connects using a workspace token with the following API scopes:

Hex API scope Access What Oblique uses it for
Users Read access Read the workspace’s users and their roles
Groups Read access Read the workspace’s groups and their members

Oblique connects with access to the whole workspace, rather than as the person who connects the integration. A workspace token belongs to the workspace, so it keeps working if the Admin who created it is deactivated or loses the Admin role.

You must be an admin to add an integration.

You connect a Hex workspace to Oblique by creating a workspace token in Hex, then adding it to Oblique.

To create a workspace token, in Hex:

  1. Navigate to Settings > API keys.
  2. Under Workspace tokens, select New token.
  3. Add a Description for the token, for example Oblique.
  4. Under Expiration, select No Expiry.
  5. Under API Scopes, select Read access for Users and Groups.
  6. Select Generate token.
  7. Copy the token, which starts with hxtw_.

Then, to add a Hex integration, navigate to the Integrations page:

  1. Select Add integration.
  2. Select Hex.
  3. Under Connect, in Workspace token, paste the token you created.
  4. Select Add integration.

Oblique will immediately start syncing the workspace’s users and groups.

You must be an admin to replace an integration’s credentials.

If the workspace token expires, is revoked, or needs rotating, you can replace it without removing the integration. From the integration’s detail page:

  1. Navigate to the Settings tab.
  2. Under Connection, select Replace workspace token….
  3. Under Workspace token, paste the new workspace token and select Replace workspace token.

You can only replace the token with another one for the same workspace. To change the workspace, instead delete the integration and add another one.

Oblique’s Hex integration is read-only, so it can’t be used to manage your Hex workspace, its users and groups, or their roles. Make these changes in Hex directly, and Oblique will sync them automatically.

You must be an admin to remove an integration.

To remove a Hex integration, from the integration’s detail page:

  1. Navigate to the Settings tab.
  2. At the bottom of the page, under Delete integration, select Delete integration….
  3. In the confirmation dialog, type the text to confirm, then select Delete integration.

This will immediately stop all syncing and remove all resources from the integration.