---
title: "Manage knowledge documents"
slug: "manage-knowledge-documents"
abstract: "Generate, review, approve, and keep knowledge documents up to date in Scrunch Knowledge Studio."
---
# Manage knowledge documents

> [!note]
> **Note**
> - References to SitecoreAI DAM in this topic also apply to Sitecore Content Hub.
> - Before you can work with SitecoreAI DAM content in Scrunch Knowledge Studio:
>   - Make sure your SitecoreAI DAM environment is [connected](https://doc.sitecore.com/sai/en/users/sitecoreai/ai-visibility-powered-by-scrunch/connect-sitecoreai-dam-to-scrunch.html) to Scrunch. The connection is live if the Scrunch **Knowledge Studio** page displays **SitecoreAI DAM ACTIVE** under the page title.
>   - In Scrunch, you need *Editor* permission to work with sources and documents, and Knowledge Studio must be enabled. It is enabled if **Knowledge Studio** appears in the **Brand Settings** section. If it doesn't appear, contact Scrunch Support.

Use [Knowledge Studio](https://doc.sitecore.com/sai/en/users/sitecoreai/ai-visibility-powered-by-scrunch/knowledge-studio.html) to convert SitecoreAI DAM source documents into knowledge documents that AI tools can use as a trusted source of truth.

## Generate a knowledge document

Generating a *knowledge* document from SitecoreAI DAM source documents is the first step to grounding AI tools in your trusted DAM content. Knowledge Studio uses large language models to generate and regenerate *knowledge* documents.

To generate a knowledge document from SitecoreAI DAM source documents:

1. In Scrunch, in **Brand Settings**, click **Knowledge Studio** > **New document**.
2. Enter a descriptive name, such as *SitecoreAI DAM assets*, and then click **Continue**.
3. In the source picker modal, select at least one document where the **Provider** is **SitecoreAI DAM**.

   - Structured content, such as blog posts, articles, and pages, has the **Content** label.
   - Files such as PDF files and Microsoft Word documents have the **Asset** label.

4. Click **Generate Knowledge Document** and wait for the generation to finish. Do not navigate away from the page. When the process completes, the generated document appears in draft status.

## Review

Knowledge Studio users can now edit the draft and add comments to it. In addition, Scrunch agents automatically review the document and add necessary comments:
- The *Scrunch Compliance Agent* flags sensitive and internal-facing content.
- The *Scrunch Fact Check Agent* flags factual errors.
- The *Scrunch Conflict Agent* flags conflicting information.

You must resolve all comments from Knowledge Studio users and Scrunch agents before you can approve the document.

![A knowledge document in Scrunch Knowledge Studio, showing the document content, Sources, Approve, and Regenerate buttons, and the Comments panel.](https://doc.sitecore.com/api/markdown-image/sai/en/users/sitecoreai/images/sitecoreai-dam-and-scrunch-knowledge-studio.jpg)

## Approve

After resolving all comments and making any necessary edits, you can approve the knowledge document. Approving the document means the following:
- The knowledge document becomes available as an input option when generating AI-optimized content. The document won't be used automatically. Scrunch users can select it when needed.
- The information in the knowledge document, including any sensitive or confidential information, may be reflected in AI-generated content visible to your website's visitors. Double-check the document before approving it.
- Any previous approvals are superseded. Only one version of the knowledge document can be approved at a time.

To approve a knowledge document:
1. In Knowledge Studio, for the document you want to approve, resolve all comments, if any.
2. Click **Approve**.
3. Enter the email address associated with your Scrunch user account to confirm approval.
4. Click **Approve document**.

After approving the document, Knowledge Studio creates a new draft version so you can continue working on the document. However, you can no longer edit the approved version of the document.

After a knowledge document is approved, you can use the approved content in other areas of Scrunch. For example, to [close content gaps](https://scrunch.com/blog/content-gaps-find-and-fix-ai-blind-spots) or to [add additional context](https://helpcenter.scrunchai.com/en/articles/12625113-understanding-the-ai-context-tab-in-scrunch) when doing content optimizations.

## Refresh sources

After adding, updating, or removing content from SitecoreAI DAM, follow best practice by refreshing sources in Scrunch. This is to make sure Scrunch is working with the latest DAM content.

To refresh sources in Scrunch:
1. In Knowledge Studio, open a document.
2. Click **Sources** > **Refresh**. Scrunch retrieves all updates to the DAM content.

For information about how Scrunch retrieves content, see [Content retrieval in Knowledge Studio](https://doc.sitecore.com/sai/en/users/sitecoreai/ai-visibility-powered-by-scrunch/knowledge-studio/content-retrieval-in-knowledge-studio.html).

## Regenerate the document

You can regenerate a *knowledge* document to replace the current one with a newly generated version. We recommend regenerating the document after adding or removing SitecoreAI DAM *source* documents to keep the *knowledge* document up to date with your DAM content.

Because large language models are non-deterministic, the newly generated document may differ in structure and content from the current version. Knowledge Studio saves the current version, and you can request a rollback if needed.

To regenerate a document:
1. In Knowledge Studio, open the document you want to work with.
2. Click **Regenerate**, then confirm your choice.
