> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/human-access/connections-and-integrations/integration-guides/hex-technologies.md). Agents can also search and read this documentation through its [MCP server](https://www.cakewalk.security/docs/~gitbook/mcp).

# Hex Technologies

Connect Hex Technologies for Auto Provisioning with Google, Microsoft or an emailed login link, and for Access Sync with a workspace token.

### :sparkles: Auto Provisioning

| **Authentication method** | `Username and password`, [`Sign in with Google`](https://www.cakewalk.security/docs/human-access/how-to-guides/auto-provisioning/how-it-works/sign-in-with-google.md) or [`Sign in with Microsoft`](https://www.cakewalk.security/docs/human-access/how-to-guides/auto-provisioning/how-it-works/sign-in-with-microsoft.md). |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Required permissions**  | `Admin`                                                                                                                                                                                                                                                                                                                      |
| **Required metadata**     | `Workspace`, only when the admin account belongs to more than one Hex workspace. See details [here](#when-do-i-need-to-enter-a-workspace).                                                                                                                                                                                   |
| **MFA**                   | Not applicable. Hex signs in with an emailed link, so there is no MFA secret to enter.                                                                                                                                                                                                                                       |
| **Email verification**    | Required with `Username and password`. See details [here](#how-email-verification-works).                                                                                                                                                                                                                                    |

{% hint style="info" %}
**Revoking access deactivates the member in Hex.** Their projects are not transferred to anyone. If someone else should own them, transfer ownership in Hex.
{% endhint %}

{% hint style="info" %}
**`Explorer` exists only on the Hex Team and Enterprise plans.** On other plans, map only to roles your workspace offers, otherwise the invite fails.
{% endhint %}

<details>

<summary><strong>When do I need to enter a Workspace?</strong></summary>

Leave `Workspace` empty if the admin account belongs to a single Hex workspace.

If it belongs to more than one, Hex shows a `Choose your workspace` screen after sign in. Enter the name of the workspace Cakewalk should manage, exactly as it appears on that screen. When the field is empty or the name does not match, the configuration is rejected.

</details>

<details>

<summary><strong>How email verification works</strong></summary>

These steps apply when the `Sign-in method` is `Username and password`. Despite the label, Hex has no password here. Signing in means entering the admin account's email address, after which Hex sends a `Log in to Hex` email with a login link. Agent Cake reads that link from your connected inbox and follows it.

Connect the inbox before you configure Hex Technologies. Go to Settings → Account → *Auto Provisioning* and click **Connect Inbox**. Full steps are in [Email Verification](https://www.cakewalk.security/docs/human-access/how-to-guides/auto-provisioning/how-it-works/email-verification.md).

Agent Cake signs in as the inbox account itself, so the connected inbox has to be the mailbox of a Hex member with the `Admin` role. You do not enter a separate Hex email address.

{% hint style="info" %}
The login link is short lived. If it has not arrived by the time the login needs it, the run fails and you can retry the request.
{% endhint %}

</details>

#### Learn more

* [Hex: Workspace roles](https://learn.hex.tech/docs/collaborate/sharing-and-permissions/workspace-roles)
* [Hex: Workspace administration](https://learn.hex.tech/docs/administration/workspace_settings/workspace-administration)

### :arrows\_counterclockwise: Access Sync

Access Sync for Hex Technologies allows you to automatically synchronize user data with Cakewalk, including permission levels.

| **Authentication method**  | API key. Workspace token                                                         |
| -------------------------- | -------------------------------------------------------------------------------- |
| **Synced user attributes** | Email, Name and Permissions                                                      |
| **Required permissions**   | Workspace admin                                                                  |
| **Required plan**          | Team or Enterprise. The Hex admin API is not available on lower plans            |
| **Required metadata**      | `Hex Workspace URL`. See details [here](#where-can-i-find-my-hex-workspace-url). |

<details>

<summary><strong>How can I create a Hex API key?</strong></summary>

Cakewalk reads your Hex users with a workspace token. Use a workspace token rather than a personal access token: personal tokens must expire within 120 days and carry only your own permissions, while a workspace token can be created without an expiry.

1. Sign in to Hex as a workspace admin.
2. Open **User Settings** and go to **API keys** under the Account section.
3. Create a new **workspace token**. Only admins can create this type. Workspace tokens begin with `hxtw_`.
4. Give the token a recognizable name.
5. Leave the expiration unset so the sync continues without interruption.
6. Copy the token value.
7. Navigate back to Cakewalk and paste the token into the `API Key` field.

</details>

<details>

<summary><strong>Where can I find my <code>Hex Workspace URL</code>?</strong></summary>

Your Hex Workspace URL is your Hex web address ending with `/`, for example `https://app.hex.tech/`.

Leave out anything after `.tech/`.

</details>

#### Learn more

* [Hex: API overview](https://learn.hex.tech/docs/api/api-overview)

#### Quick Setup

1. Navigate to **App Governance** → **Hex Technologies** → **Users table** → **Sync Users**
2. Enter your Hex API key
3. Users will sync automatically


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.cakewalk.security/docs/human-access/connections-and-integrations/integration-guides/hex-technologies.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
