> For the complete documentation index, see [llms.txt](https://herd-security.gitbook.io/herd-security-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/setup.md). Agents can also search and read this documentation through its [MCP server](https://herd-security.gitbook.io/herd-security-docs/~gitbook/mcp).

# Setting Up AI Insights

Connect your organization's Claude, ChatGPT, or Microsoft Copilot account and Claude Code telemetry to AI Insights, map AI activity to your people, and pull conversations to score.

{% hint style="info" %}
If **AI Insights** opens with an **AI Insights isn't on your plan yet** banner, choose **I'm interested** or ask your Herd representative to turn it on. See the [AI Insights overview](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach.md#getting-access) for what it does.
{% endhint %}

This page covers the **People's AI use** half of **AI Insights → Setup**: connecting accounts and tools, and choosing how Herd scores, alerts on and keeps conversations. If your organization also has agent oversight (a beta, turned on by request), the same **Setup** page has a second part under the heading **Agent oversight**. That part sets up the hooks that check tool calls and prompts in coding tools, and it is covered in [Agent Oversight](https://herd-security.gitbook.io/herd-security-docs/ai/agent-oversight.md).

## Before you begin

* AI Insights is on your organization's plan (no **isn't on your plan yet** banner).
* Your organization has its own **Anthropic API key** in **Settings → Integrations → LLM API Keys** (see [LLM Providers](https://herd-security.gitbook.io/herd-security-docs/setup-and-integrations/settings/llm-providers.md)). AI Insights scoring, coaching and policy judging run only on your own key, never on Herd's. Without one, the AI Insights pages show the banner **Add your Anthropic key to enable AI Insights**, with an **Add your Anthropic key** link if you can manage integrations (otherwise it asks you to get an admin who manages integrations to add it). **Pull now**, **Coach** and rescoring are refused with the same explanation.
* You're a Herd admin, or someone whose group grants **AI Governance** management permissions (**Manage AI governance**). The **Setup** button, connecting accounts and changing settings all require the manage permission. With view permission only, Setup shows its status read-only.
* You have admin access to the AI provider you want to connect (Claude, ChatGPT, or Microsoft Copilot).

***

## Step 1: Open AI Insights settings

1. Click **AI Insights** in the left-hand sidebar.
2. In the top-right corner of the **Overview**, click **Setup**. A badge beside it reads **Not connected** until at least one account is connected, then **Connected**. You can also click **Setup** in the **AI Insights** group in the sidebar.
3. The **Setup** page opens with a **Setup checklist**. For each product your organization has, it shows how many checks are done, each check's state, one next action that opens the card that does it, and when data last arrived. For people's AI use the checks are: a source is connected, no connected source needs attention, and every AI account is matched to a person.
4. Below the checklist, the cards sit under two tabs:

   * **Connect**: the sources, keys and tokens Herd reads AI use through. For people's AI use these are **Claude**, **Claude Code**, **LiteLLM**, **Browser extension** (once the beta is on for your organization), **ChatGPT**, **Microsoft Copilot**, **Amazon Bedrock**, and **Unmapped AI actors** (shown only when some accounts are unmapped).
   * **Tune**: how Herd scores, alerts on, remediates and keeps what the sources send. These are **AI spend this month**, **Approved AI tools**, **Scoring objective**, **Scoring delay**, **Leaderboards & self-service**, **Team grouping**, **Theme-based remediation**, **Finding notifications**, **Finding actions**, **Conversation privacy** and **Suppressed matches**.

   If your organization also has agent oversight, an **All**, **People** and **Agents** switch beside the tabs shows one half or both. Each card is folded to one line with its name, what it holds and, for a source, how healthy it is. A card whose source needs attention stays open. Click a card to open it. Each section below covers one of them.

Someone with **View AI governance** but not the manage permission sees the checklist read-only: what is connected, how healthy it is and when data last arrived, with no links to the cards. A line above it says they can see the status but not change it, and who to ask.

***

## Step 2: Connect an AI provider

Connect one or more of the following from the **Setup** page. You only need the providers your organization uses. The Claude, ChatGPT, and Microsoft Copilot connections are server-to-server: once connected, Herd polls the provider on a schedule, the card shows the last and next poll, and you can **Poll now**, view polling **History**, or **Disconnect** at any time.

{% hint style="info" %}
All three providers require an **enterprise plan with the provider's compliance/audit API enabled**. If you're unsure how to obtain the credentials, your Herd representative can walk you through it. [Claude Code](#connect-claude-code) and [LiteLLM](#connect-litellm) are the exceptions: Claude Code works on any Claude plan because each machine sends its own telemetry to Herd, and a LiteLLM proxy pushes its calls to Herd. Claude Code **usage and cost** reporting is separate again and needs an Anthropic Admin API key; see [Claude Code usage and cost in AI Insights](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/claude-code-usage-and-cost.md).
{% endhint %}

### Claude (Anthropic)

**Prerequisite:** Claude Enterprise with the Compliance API enabled, and a **Compliance Access Key** with both the `read:compliance_activities` and `read:compliance_user_data` scopes. A key with only one of the two can't ingest anything, and scopes can't be changed after a key is created, so tick both.

In the **Connect Claude** card, paste your organization's **Compliance Access Key**.

1. In [claude.ai → Organization settings → API](https://claude.ai/admin-settings/api-access), have your **primary owner** or an organization owner create a **Compliance Access Key** with both the `read:compliance_activities` scope (spots new chats) and the `read:compliance_user_data` scope (reads the chats). This requires **Claude Enterprise with the Compliance API enabled** (ask your Anthropic rep).
2. Paste the key (it looks like `sk-ant-api01-…`) into the card and click **Connect**.

The card also notes two things about the key. Give it only the two read scopes above; it needs no write or delete scope. And a key created at a parent organization reads sessions in every linked organization, so create the key in the organization you intend to monitor.

### ChatGPT (OpenAI)

**Prerequisite:** ChatGPT Enterprise or Edu with OpenAI's Compliance API, a **Compliance API key** with the "read" scope, and your ChatGPT Enterprise **workspace ID** (a UUID from the admin console's Compliance settings, not the `org-…` ID from platform settings).

In the **Connect ChatGPT** card, provide your **OpenAI Compliance API key** and your **Workspace ID**.

1. The Compliance "read" scope is granted by OpenAI separately. Request it from OpenAI support for the key you'll use. (The card links to OpenAI's Compliance APIs guide and includes a pre-filled support request email.)
2. Create the API key at [platform.openai.com](https://platform.openai.com/api-keys), and copy your workspace ID from the Compliance settings in your ChatGPT Enterprise admin console. An `org-…` ID from OpenAI's platform settings won't return conversations.
3. Paste the **Compliance API key** and **Workspace ID** into the card and click **Connect**.

### Microsoft Copilot

**Prerequisite:** a Microsoft Entra (Azure AD) app that you register in your own tenant, granted the Microsoft Graph **`AuditLog.Read.All`** application permission with admin consent. Herd then polls the Microsoft Graph audit log for Microsoft 365 Copilot conversations.

1. [Register an app](https://entra.microsoft.com) in the Entra admin center and copy its **Directory (tenant) ID** and **Application (client) ID** from the Overview.
2. Under **API permissions**, add the Microsoft Graph **application** permission **`AuditLog.Read.All`** (we also recommend `SecurityEvents.Read.All` and `User.Read.All` so Copilot alerts and user mapping work), then **Grant admin consent**.
3. Under **Certificates & secrets**, create a **client secret** and copy its **Value** (not the Secret ID). It's shown only once.
4. In the **Connect Microsoft Copilot** card, paste the **tenant ID**, **client ID**, and **client secret value**, then click **Connect**.

Herd reads Copilot from this log afterwards. To have Microsoft stop sensitive prompts before they are answered, see [Stop sensitive prompts in Microsoft 365 Copilot](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/stop-sensitive-prompts-in-microsoft-365-copilot.md).

### Amazon Bedrock

If your teams call models on Amazon Bedrock, Herd can read Bedrock's model invocation logs from an S3 bucket in your account. See [Connect Amazon Bedrock to AI Insights](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/connect-amazon-bedrock.md).

### Connect Claude Code

Claude Code (Anthropic's command-line AI coding tool) has no compliance API for Herd to poll. Instead, each machine that runs Claude Code sends its own activity to Herd through Claude Code's built-in OpenTelemetry export, authenticated with an **ingest token** that Herd issues to your organization. This works on any Claude plan, and you can route the telemetry through your own OpenTelemetry Collector instead of sending it directly from each machine.

You need to be a Herd admin, or someone whose group grants **AI Governance** manage permission.

You create the token on the **Connect Claude Code** card, then set a handful of environment variables wherever your team runs Claude Code. For the full walkthrough (the token steps, the exporter settings, what each machine sends, and how to rotate or revoke), see [Connect Claude Code to AI Insights](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/connect-claude-code.md).

{% hint style="info" %}
The same card carries an **Admin API key** field, which is how Herd reports your Claude Code **usage and cost** on the AI Insights overview. That's a separate credential from the ingest token. See [Claude Code usage and cost in AI Insights](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/claude-code-usage-and-cost.md).
{% endhint %}

### Connect LiteLLM

If your engineers route Cursor, OpenCode or other tools through a self-hosted **LiteLLM** proxy, the proxy can push every call to Herd with LiteLLM's built-in `generic_api` callback. Herd never connects to the proxy, so it can stay on your private network. This channel sends the full prompt and response text of each call.

You need to be a Herd admin, or someone whose group grants **AI Governance** manage permission.

Create the token on the **Connect LiteLLM** card, then paste the config it gives you into the proxy's `config.yaml`. For the full walkthrough, including the batch-size setting and how calls are matched to people, see [Connect LiteLLM to AI Insights](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/connect-litellm.md).

### Connect the browser extension

The browser extension is in beta, and Herd turns it on for one organization at a time, on request. Once it is on for yours, the **Connect the browser extension** card brings in what people type into claude.ai, ChatGPT, Gemini and Microsoft 365 Copilot Chat (copilot.cloud.microsoft). Until then the card does not appear, so ask your Herd representative if you want it. The card labels Microsoft Copilot on the web (copilot.com) "not supported yet".

1. Click **Create extension token**. The token is shown only once, so copy it now.
2. Install the Herd extension on managed browsers with your Chrome or Edge policy. Nobody configures it by hand. For everything Herd puts on a managed computer, see [What Herd puts on a managed computer](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/what-herd-puts-on-a-managed-computer.md). For Edge, see [Install the Herd Extension on Managed Microsoft Edge](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/install-the-extension-on-managed-microsoft-edge.md).
3. When someone signs in to Herd in that browser, the extension connects to them automatically. They can disconnect it from **Browser extension** in the account menu, unless you lock it: see [Lock the Herd Extension on Chrome and Edge](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/lock-the-extension-on-chrome-and-edge.md).

While the token exists, the extension works for your organization. **Rotate** issues a new token and the old one stops working immediately. **Revoke** turns the extension off for everyone. Both ask you to confirm first. The card shows how many turns arrived from each site in the last 24 hours.

{% hint style="warning" %}
**Pre-release, by request only.** Warning, blocking and redacting before a message is sent is not generally available and is not turned on for your organization unless you have asked for it. Contact Herd to request access.
{% endhint %}

In a later pre-release step the extension can also warn, block or redact a draft before it is sent. Every rule starts on observe. See [Before a message is sent](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/before-a-message-is-sent.md).

The **Weekly insights in the extension** checkbox, off by default, adds a collapsed **Your insights this week** section to the extension panel, built from each person's own scored chats. People open it themselves, and nothing is sent to Slack, Teams or email.

***

## Step 3: Map AI activity to your people

AI activity arrives tied to a provider account (usually an email). When an account can't be matched to a Herd user automatically, it appears on the **Unmapped AI actors** card on the **Setup** page.

Open the **Unmapped AI actors** card and map each account to the right Herd user so that scores, trends, and coaching attach to the correct person. Conversations from unmapped accounts are still scored. They show as "Unmapped actor" until you map them.

***

## Step 4: Pull conversations to score

On **AI Insights → Conversations**, click **Pull now** to sync recent conversations from your connected accounts and score them. After the first pull, Herd keeps scoring new activity on an ongoing basis, and the page refreshes on its own as fresh scores come in.

{% hint style="info" %}
The first pull can take a few minutes depending on how much recent activity there is. The page shows how many conversations were synced, scored, already up to date, and skipped.
{% endhint %}

### Scoring delay

Herd waits for a conversation to settle before scoring it, so a chat that's still going isn't scored half-finished. The **Scoring delay** card on **AI Insights → Setup** sets that wait, for first scores and re-scores alike:

* **Idle time before scoring**: how long a conversation must be quiet before it's scored or re-scored. Choose 4, 8 or 24 hours (4 hours by default).
* **Maximum age before scoring**: a conversation that never goes quiet is scored anyway once it reaches this age. Choose 24 or 72 hours (24 hours by default).

**Pull now** skips the wait for conversations that have never been scored.

### Conversation privacy

The **Conversation privacy** card sets how long Herd keeps the text of a conversation, meaning its prompts and responses. Choose one of three:

* **Clear once scored**: Herd clears the text as soon as the conversation has been scored and reviewed for coaching, which is usually within a day. A conversation longer than 15 messages is not cleared early, and waits for the limit below. Text Herd has held for 5 days is cleared whether or not it was scored, counted from when Herd received it. The limit covers prompt and response text only, and Herd clears at most 25,000 rows an hour, so a very large backlog takes several hours.
* **Clear after 30 days without a new message** (the default): Herd keeps the text while the conversation is active and clears it once the conversation has had no new message for 30 days.
* **Keep**: Herd keeps the encrypted text of every conversation until you change the setting, for drill-down and re-scoring.

The scores, trends and coaching written about a conversation are kept in every mode. A change saves as soon as you make it, except that choosing **Clear once scored** first asks you to confirm. It clears text Herd already holds, over the next hourly runs, and cleared text cannot be restored. A conversation that continues after its text was cleared is scored again on its new messages only. Rescoring a conversation, the prompt rewrite and viewing a finding's prompt stop working for a conversation once its text is cleared.

#### What else Herd clears

A conversation's text is not the only place that text is copied. Unless you choose **Keep**, Herd also clears these on a schedule, in both of the other modes. **Clear once scored** does not shorten them, so the 5 day limit above does not apply:

* **Finding snippets.** A finding stores the matched text with about 40 characters either side. Once a finding is dismissed, remediated, resolved automatically, stopped before sending or deleted, and the finding and its conversation turn are more than 30 days old, Herd blanks the snippet. A finding that is still open keeps its snippet however old it is. Dismissing a finding still suppresses the same match afterwards.
* **Suppression samples.** The sample shown on **Suppressed matches** is blanked 30 days after the suppression was created. The suppression keeps working.
* **Prompt rewrites.** The rewrite Herd caches for the Slack and extension coach is removed once the conversation has had no new message for 30 days. With **Clear once scored**, it is removed as soon as none of the conversation's text is left.
* **Tool calls.** Once a turn is more than 30 days old, Herd reduces its stored tool calls to their structure: the tool's name, its ids and a commit id, with the input and arguments removed.

### Scoring objective

The **Scoring objective** card sets what the conversation score rewards. Pick one under **Objective**:

* **Maximize adoption** rewards engagement and iteration, and nobody is nudged for reaching for a larger model.
* **Balanced (default)** is the recommended weighting.
* **Maximize efficiency** rewards getting it right in one complete prompt and keeps the "cheaper model would do" nudge sharp.

The choice saves immediately and applies to conversations scored from then on. Existing scores keep the weighting they were scored under. Under **Advanced: per-dimension weights** you can set how much each scoring dimension counts, from 0 to 1. Most organizations should leave these alone. **Reset to objective defaults** appears once you have changed a weight and clears your changes.

### Team grouping

The **Team grouping** card decides how people are grouped into teams on the AI posture view (**AI posture by team**). Under **Group teams by**, keep **Okta group membership (default)** or pick the directory attribute that models teams in your organization, such as a department. The change saves immediately and affects team totals only. Teams with fewer than 5 members stay hidden.

### Leaderboards and self-service

The **Leaderboards & self-service** card has five checkboxes, and each saves as soon as you click it:

* **Team leaderboard** shows the average AI-effectiveness score per team. It is aggregated and never exposes content.
* **Individual leaderboard** ranks people by average score, showing names, ranks and scores only. It is off by default.
* **Slack "My AI activity" surface** lets people see their own scored conversations and get on-demand prompt rewrites in the Herd Slack app.
* **AI level-up Slack pings** sends people a short Slack message when their AI-use level goes up. It is off by default.
* **Only show users with AI app access** hides directory users who are not assigned a ChatGPT or Claude app in your identity provider (Okta), so accounts that can never use AI do not show up as permanently dormant. It applies once app-assignment data has synced. Until then everyone is shown.

### Theme-based remediation

The **Theme-based remediation** card assigns a short training to someone whose recent conversations share a dominant weakness, so a single weak chat never triggers it. Each control saves as you change it.

1. Under **Remediation training**, pick the training to assign.
2. Turn on **Enable remediation**. It is off by default.
3. Leave **Shadow mode (dry run)** on at first. Herd records what it would have assigned without assigning anything, so you can check the thresholds. Turn it off to start real assignments, which requires a training to be selected.

Under **Advanced thresholds**, **Window size**, **Minimum scored**, **Dominance threshold (%)**, **Recency window**, **Recency minimum** and **Cooldown (days)** control how readily it fires.

### Approved AI tools

The **Approved AI tools** card lists the AI tools your organization allows. Tools you approve are not reported as unapproved. Use of any other AI tool, or a personal account on an approved one, is listed on the AI Insights page. Herd stores only the tool's address and the account's email domain.

**See every AI app and its use**, on the card, opens the **AI apps** page. It lists every AI app Herd recognises or your organization approved, with its status, the people the browser extension saw using it without approval, those first seen in the last 7 days, the people on a personal account, and when it was last seen. Someone with the manage permission sets each app's status from its row: **Approved**, **Tolerated**, **Not approved** or **Not rated**. A tolerated app is treated as approved everywhere, so its use is not reported as unapproved, but the page shows it as **Tolerated** and counts it apart. **Not approved** and **Not rated** are both treated as not approved. Tolerating a blocked app needs **Enforce AI governance rules**, as approving one does. Click an app's name to open a drawer with what the vendor's own public pages say about it, each with a link and the date Herd read it, beside the use Herd saw.

Next to each listed tool, click **Approve** or **Remove**. To add another, enter its **Tool address** (for example ai.example.com), optionally a **Name (optional)** and **Note (optional)**, then click **Approve tool**. Only people with the manage permission see these controls.

Turn on **Remind people about unapproved AI tools** to have the browser extension show a dismissible reminder, at most once a day per tool, when someone opens an unapproved tool or signs in with a personal account. The reminder itself blocks nothing. Use **Custom reminder message** to replace Herd's wording with your own plain text, then click **Save message**. Leave it empty to keep Herd's wording.

#### Remind or block an unapproved tool

Under **Unapproved tools in the browser**, each tool on Herd's list that you haven't approved has its own setting. Herd's list is ChatGPT, Claude, Gemini, Microsoft Copilot, Perplexity, Mistral Le Chat, DeepSeek, Poe and Character.AI.

* **Remind** is the default. It shows the reminder above, when reminders are on.
* **Block** covers the tool's site with a full-page notice, so the site can't be used. The notice shows your custom reminder message (or Herd's wording if you haven't saved one) and lists your approved tools. It applies whether reminders are on or off, and the visit is still recorded on the AI Insights page.

Only tools on Herd's list can be blocked, not addresses you add yourself, and only in a browser where the Herd extension is installed and connected. An approved tool is never blocked. A tool a connected integration covers is still blocked if you blocked it: the block stays until someone with the Enforce AI governance rules permission changes it. A change reaches each browser within about an hour.

Blocking is advisory. A browser that isn't connected to Herd blocks nothing, so a person who disconnects the browser from Herd, or changes its Ingest URL, lifts every block. To enforce it, deploy the extension with your browser's managed-extension policy, which keeps people from removing or reconfiguring it. See [Install the extension on managed Microsoft Edge](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/install-the-extension-on-managed-microsoft-edge.md).

Setting a tool to **Block**, changing a blocked tool back to **Remind**, or approving a blocked tool needs the **Enforce AI governance rules** permission. **Remind** needs only the manage permission.

#### Remind or block a personal account

The **Personal accounts** setting, above the tool list, applies to the whole organization. It says what the browser extension does when the account signed in to a tool is not one of your organization's own: one whose email domain is not on your organization's list of email domains. This does not cover Microsoft Copilot (copilot.com, copilot.microsoft.com) yet, where the extension can't read the signed-in account.

* **Remind** is the default. A personal account gets the reminder, when reminders are on.
* **Block** covers the tool's site with the same full-page notice a blocked tool gets, with your custom reminder message (or Herd's wording), so the tool can't be used with that account. A work account is never blocked.

Herd reads the signed-in account about four seconds after the page loads, so the tool can be used for those few seconds before the notice appears. Herd stores only the tool's address and the account's email domain, never the address.

Two cases are let through, not blocked: an account the extension cannot read, and every account while your organization lists no email domains. Each is counted per site and day, and the counts appear in the "Times the extension could not fully run its checks" card on the AI Insights page. If the browser cannot reach Herd, the block still works from the settings the extension last received.

Blocking is advisory, as it is for a tool. Signing out of the tool gets past this block, since an account that cannot be read is let through, and disconnecting the browser from Herd lifts it too.

Setting personal accounts to **Block**, or changing the setting back to **Remind**, needs the **Enforce AI governance rules** permission. **Remind** needs only the manage permission.

The extension covers the browser only. To keep a personal account out of Claude Code, Cursor and Codex CLI on a managed computer, see [Personal accounts](https://herd-security.gitbook.io/herd-security-docs/ai/agent-oversight/coverage-and-bypass.md#personal-accounts).

{% hint style="info" %}
Blocking needs the latest version of the Herd browser extension. An older version keeps showing the reminder instead.
{% endhint %}

***

## Step 5 — Choose how findings reach people (optional)

By default, findings wait on the dashboard to be discovered. The **Finding notifications** card on **AI Insights → Setup** can push them out instead:

* **Send an alert as findings happen** notifies everyone who can already see findings (or one shared Slack channel, if you pick one) as serious violations land. Tune the bar with **Minimum severity** (from *Low and above* to *Critical only*) and **Minimum confidence** (up to *Verified matches only*, checksum-backed). Anything below the bar still appears in the weekly summary.
* **Also notify the user's manager** messages the manager of the person a finding is about, on Slack (or Teams if they aren't on Slack), using the same **Minimum severity** and **Minimum confidence**. It works on its own, whether or not **Send an alert as findings happen** is on. Managers see the policy, severity, person, time and a suggested next step, never the prompt, and get an **Open in Herd** button only if they can already view AI findings. Each manager gets up to 5 an hour, then one summary of the rest on the next hourly tick. A finding held for triage doesn't notify the manager until it's confirmed. The manager has to be set on the person's profile in Herd and reachable on Slack or Teams.
* **Send a weekly summary** sends one message a week rolling up everything that didn't meet the alert bar. Nothing is sent in a quiet week.

No prompt content is included. The alert to admins has a **Why it fired** line, which is a fixed sentence built from the rule's name, its category and the kind of condition that matched, for example: *The rule "" (category SECRETS) fired: a pattern in the rule matched this prompt.* It is never the AI judge's own explanation of a prompt. Each message links back to the dashboard. The setting for which AI corrections reach your SIEM is not on this card. It is under **SIEM forwarding** in the **Agent oversight** half of **AI Insights → Setup**; see [Agent corrections events](https://herd-security.gitbook.io/herd-security-docs/setup-and-integrations/settings/siem-dlp-webhooks.md#agent-corrections-events). All three options are **off by default**, and all of them stop while the **Security findings** switch in [Settings → Notifications](https://herd-security.gitbook.io/herd-security-docs/setup-and-integrations/settings/admin-notifications.md#security-findings) is off.

### Finding actions

The **Finding actions** card, just after **Finding notifications** on **AI Insights → Setup**, decides what happens when an AI policy finding lands. Click **Add finding action** and choose:

* **Policy**: one AI policy, or **Any policy**.
* **Severity**: **Low**, **Medium**, **High**, **Critical**, or **Any severity**.
* **Action**:
  * **Notify reviewers** messages the people who can view AI findings, or posts to the shared Slack channel set under **Finding notifications**. Sent for every match, whatever the alert floors say. These messages, AI findings over the alert floors and email security alerts share one hourly cap and one switch, the **Security findings** row in [Settings → Notifications](https://herd-security.gitbook.io/herd-security-docs/setup-and-integrations/settings/admin-notifications.md#security-findings).
  * **Assign a training** assigns the training you pick to the person whose prompt triggered the finding, when Herd can match them to a user. The finding alert, if it's on, still applies.
  * **Assign a training and notify reviewers** does both.
  * **Don't alert** records the finding without alerting anyone when it lands. It still counts in the weekly summary.

When several actions match a finding, only the most specific **enabled** one runs: the finding's policy at its severity, then that policy at any severity, then any policy at that severity, then any policy at any severity. With no match, the finding is recorded and **Finding notifications** decide who hears about it. Each scope can only have one action; if you pick a scope another action already covers, the card offers to edit that one instead.

Each action has its own on/off switch, and can be edited or deleted. If the training an action assigns is deleted, the action shows no training picked and reads *This action needs a training*; it can't be switched on or saved as enabled until you pick another one. Changing finding actions needs the **Manage AI governance** permission. An action created through the API as **Block** or **Coach the user** shows as **(not enforced)**: Herd doesn't act on it yet, so edit it to pick an action that runs.

***

## AI spend and budget

Scoring conversations and reviewing findings costs AI calls, and Herd caps that spend per calendar month. The **AI spend this month** card on **AI Insights → Setup** shows what the AI judge and review calls have cost so far, split into **Judge** and **Review** lines, against the **Monthly budget (USD)** you can edit right on the card (press Enter or click away to save). Utilization is shown with an icon and a sentence, not color alone, and the sentence names the consequence: once the budget is reached, judge and review calls are skipped for the rest of the month, so detection degrades until the month rolls over. Herd also alerts as the budget approaches and when it runs out.

While the budget is enforced, conversation scoring can use at most **70%** of it. Past that, scoring pauses for the rest of the month, and the remainder is kept for the policy judge and reviews, so a busy month of scoring can't stop policy findings from being reviewed.

{% hint style="info" %}
Organizations that run AI on their own Anthropic key (see [LLM Providers](https://herd-security.gitbook.io/herd-security-docs/setup-and-integrations/settings/llm-providers.md)) and haven't customized the budget are exempt from the cap: the card still shows the spend figure, with a note that it is a readout rather than a limit. Setting a budget different from the default turns enforcement on for your organization.
{% endhint %}

***

## Reviewing suppressions

Dismissing a finding suppresses the exact same match for everyone in your organization. The **Suppressed matches** card on **AI Insights → Setup** lists every suppression (its detector, snippet sample, dismissal reason, and when it was dismissed) with a **Remove** button per row to start detecting that match again. A snippet sample is blanked 30 days after the suppression was created, and the suppression keeps working; see [What else Herd clears](#what-else-herd-clears). See [Findings](https://herd-security.gitbook.io/herd-security-docs/ai/ai-coach/findings.md#triaging-a-finding).
