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.
Supported options
Section titled “Supported options”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 |
Accounts
Section titled “Accounts”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).
Resources
Section titled “Resources”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.
Required permissions
Section titled “Required permissions”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.
Add Hex integration
Section titled “Add Hex 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:
- Navigate to Settings > API keys.
- Under Workspace tokens, select New token.
- Add a Description for the token, for example
Oblique. - Under Expiration, select No Expiry.
- Under API Scopes, select Read access for Users and Groups.
- Select Generate token.
- Copy the token, which starts with
hxtw_.
Then, to add a Hex integration, navigate to the Integrations page:
- Select Add integration.
- Select Hex.
- Under Connect, in Workspace token, paste the token you created.
- Select Add integration.
Oblique will immediately start syncing the workspace’s users and groups.
Change Hex integration’s authorizations
Section titled “Change Hex integration’s authorizations”If the workspace token expires, is revoked, or needs rotating, you can replace it without removing the integration. From the integration’s detail page:
- Navigate to the Settings tab.
- Under Connection, select Replace workspace token….
- 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.
Manage entitlements
Section titled “Manage entitlements”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.
Remove Hex integration
Section titled “Remove Hex integration”To remove a Hex integration, from the integration’s detail page:
- Navigate to the Settings tab.
- At the bottom of the page, under Delete integration, select Delete integration….
- 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.