Integration
The Integration section allows you to choose how the application integrates with HiveTrace and its operation mode.
Required permissions
Section titled “Required permissions”| Action | Area | Min. access level |
|---|---|---|
| Viewing the page | Applications | Read |
| Updating the application settings, editing it | Applications | Edit |
| Deleting an application | Applications | Full |
| Editing an application from the header | Applications | Edit |
| Deleting an application from the header | Applications | Full |
If the user does not have access to view the page, 403 — Access denied is displayed.
Opening the Integration section
Section titled “Opening the Integration section”- In the sidebar, select Applications.
- Open the required application by clicking its card or its name, depending on the selected view.
- The Integration tab opens.

The page header displays the application’s name, ID, and description (if any). The copy button is available next to the ID. The header also contains the Back to applications link that leads to the Applications section.
Editing the application
Section titled “Editing the application”
- Click
Edit. - Change the required fields.
- Click
Save.
Deleting the application
Section titled “Deleting the application”
- Click
Delete. - Confirm the deletion in the confirmation dialog.
This action cannot be undone. Prior to deletion, please verify that integration traffic has been stopped or redirected and that the associated API tokens are no longer in use.
Integration Type
Section titled “Integration Type”This block determines whether HiveTrace can intervene in traffic.
There are 4 options available: Gateway, SDK, API, Claude Code Hooks.
Gateway and Claude Code Hooks are marked Protection because HiveTrace can intervene in synchronous processing. SDK and API are marked Observability and send data only for recording and analysis.

Operation Mode
Section titled “Operation Mode”This block determines how a message is processed during checks.
- Synchronous — message is checked within the request, and the result is returned in the response;
- Asynchronous — Monitoring accepts the message with HTTP 202 and checks it later when deferred ingest is enabled (the default). This receipt is not a check result. For Gateway integrations, HTTP 202 describes the Gateway-to-Monitoring exchange; the client still receives the model response from Gateway.

Gateway
Section titled “Gateway”Gateway routes model traffic through HiveTrace and can stop unsafe requests before execution:
- Synchronous runs checks before forwarding the request and displays the remaining Gateway controls.
- Asynchronous analyses events without blocking the request; dependent fields are hidden.
- Response upon violation is the required phrase returned instead of a blocked result.
- DataClean, Custom Policy, Guardrail, Language Mismatch, File Check switches configure the response to detected violations.
- User request and LLM response define the two token limits.
- Allowed models — by default, the model list is empty. An empty list blocks access to every model. To add a model, click
Add model— a list of available models opens. You can select a model by clicking it in the list or use search — type the name manually to quickly find the required model. To allow all models at once, use theAdd all modelsoption.
The response upon violation is required only for synchronous Gateway. The value must contain at least one non-whitespace character.

The integration switches control how detected violations affect the synchronous request. In particular, Language Mismatch enables blocking for a language violation, and File Check enables blocking for file findings. Turning these off does not disable detection configured under Protection → Language check or Data Cleansing. Configure the detectors and their input/output directions separately under Protection. A value of 0 in a token-limit field means that no positive threshold is configured; enter a value greater than zero to enforce a limit.
SDK and API
Section titled “SDK and API”Use these observability methods for a client library or direct HiveTrace API calls. They add no extra form fields. Application settings define default processing; Override API can supply inline configuration per request.
Claude Code Hooks
Section titled “Claude Code Hooks”This method validates Claude Code actions, including tool calls. Synchronous mode displays DataClean, Custom Policy, Guardrail, and Language Mismatch switches. The blocking-response and token-limit fields are not displayed for Claude Code Hooks.
