> ## Documentation Index
> Fetch the complete documentation index at: https://asapp-04-04-getting-started-ga.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting your Knowledge Base

> Learn how to import, sync, and deploy your Knowledge Base for GenerativeAgent.

Your knowledge base is crucial for GenerativeAgent to provide accurate and contextually relevant responses to users. You have full control over which articles are included, their update frequency, and how those updates are deployed.

All content and update management occurs within the ASAPP dashboard.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/mfSZBtsWldXj5V1j/image/uuid-6a3bd50e-2c74-39f2-9b37-2453e719cda5.png?fit=max&auto=format&n=mfSZBtsWldXj5V1j&q=85&s=2fbc679b7d841d6fe6c8dc7885e2da6f" width="2048" height="1294" data-path="image/uuid-6a3bd50e-2c74-39f2-9b37-2453e719cda5.png" />
</Frame>

GenerativeAgent's Knowledge Base is designed to store reference material that GenerativeAgent can use to answer a variety of customer questions—both explicit (“What is the return policy?”) and implicit (“I don't understand ‘eligible for store credit’”).

GenerativeAgent determines if a question should be answered from the Knowledge Base and searches for the most relevant content.

To configure your Knowledge Base, you need to:

1. Import your knowledge base
2. Configure sync and deployment preferences
3. Deploy knowledge base articles

<Note>
  Do not upload internal, agent-facing knowledge base material intended only for live agents. Use GenerativeAgent’s task instructions for internal-only guidance.
</Note>

## Step 1: Importing Your Knowledge Base

You can import content by:

* Navigating to GenerativeAgent > Knowledge in the ASAPP dashboard
* Clicking **Add content**
* Choosing from:
  * **Import from URL**
  * **Create Snippet**
  * **Add via API**

<Tabs>
  <Tab title="Import from URL">
    Importing from a URL lets you specify a site or page for the crawler to harvest articles.

    1. Select **Import from URL**
    2. Enter the URL to start the import
    3. (Optional) Use URL Prefixes or Excluded URLs to target specific sections
    4. Click **Import content**

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/k7thOZ7QuDJg8OOE/images/generativeagent/ExcludeURLs.png?fit=max&auto=format&n=k7thOZ7QuDJg8OOE&q=85&s=f3d73eb10da1765c47adfcfaab48b1de" width="1009" height="240" data-path="images/generativeagent/ExcludeURLs.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/RRg3Ad4pxY3z3L-S/images/generativeagent/url_prefix.png?fit=max&auto=format&n=RRg3Ad4pxY3z3L-S&q=85&s=ab2dba6b6b66bcd3a99c461bd3d5dfda" width="980" height="134" data-path="images/generativeagent/url_prefix.png" />
    </Frame>
  </Tab>

  <Tab title="Create Snippet">
    Snippets are stand-alone articles created manually.

    1. Click **Create Snippet**
    2. Enter the article’s title and content
    3. Optionally add instructions and metadata

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/w7u-hFfzdPXLroyz/image/uuid-a5f488c1-8d55-60fa-2b18-c2b185fb5546.png?fit=max&auto=format&n=w7u-hFfzdPXLroyz&q=85&s=2e4452b18d0e2285375d958badccedb4" width="2880" height="1872" data-path="image/uuid-a5f488c1-8d55-60fa-2b18-c2b185fb5546.png" />
    </Frame>
  </Tab>

  <Tab title="Add via API">
    Programmatically add or update articles using the Knowledge Base Article Submission API.

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/4IwYo17Co_g2p9w2/image/uuid-2a26fb87-81b2-e453-8307-d0d62b33b117.png?fit=max&auto=format&n=4IwYo17Co_g2p9w2&q=85&s=04fd00a527188334ae3e941679d01e02" width="1440" height="900" data-path="image/uuid-2a26fb87-81b2-e453-8307-d0d62b33b117.png" />
    </Frame>
  </Tab>
</Tabs>

## Step 2: Configure Sync & Deployment Preferences

When adding or modifying a content source, you now have advanced control over how and when it syncs and how updates are deployed to production.

**Automatic update options:**

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBAutoDeploy.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=8d2417947e979efb6bbdab394ad4c0be" alt="Automatic updates dialog" width="2218" height="1022" data-path="images/generativeagent/KBAutoDeploy.png" />
</Frame>

* **Enable with review notification**\
  Scrapes and cleans content every 24 hours. Updates require manual review before deployment.
* **Enable with auto-deployment**\
  Scrapes and cleans content every 24 hours. Updates are *immediately* deployed to production, bypassing the review process.
* **Turn off**\
  Import content only once. No automated updates.

> You can adjust this setting anytime in the content source management screen. The current sync mode is visually indicated for each source.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBLastActivityAutoDeploy.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=29339283921e07000105eafcfbc4dc4f" alt="Auto-deploy indicator in Production table" width="640" height="348" data-path="images/generativeagent/KBLastActivityAutoDeploy.png" />
</Frame>

## Step 3: Article-Level Frequent Refresh (Critical Updates Only)

You can override the sync and deployment setting of the content source for specific, time-sensitive articles:

1. Click the three-dot menu next to the article and select **Set refresh frequency**.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBSetRefreshFrequency.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=c7f0567a50c926efb7f8f42753d9428d" alt="Set refresh frequency dropdown" width="376" height="344" data-path="images/generativeagent/KBSetRefreshFrequency.png" />
</Frame>

2. In the dialog, enable **refresh frequency** for updates every 15 minutes.
   * Updates will be auto-deployed to production immediately, even if your content source normally requires review.
   * Disabling will revert to the content source's settings.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBSetRefreshFrequency_DialogAutoDeploy.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=a43e368e0d542612b561f949058b5d3e" alt="Set refresh frequency dialog" width="1316" height="540" data-path="images/generativeagent/KBSetRefreshFrequency_DialogAutoDeploy.png" />
</Frame>

<Warning>
  Use frequent refresh and auto-deploy only for critical, time-sensitive articles (e.g., live incident or service disruption updates). These changes will go live immediately without review.
</Warning>

## Step 4: Deploying Your Knowledge Base

Once imported and configured, deploy your Knowledge Base and changes to your desired environment for GenerativeAgent. This ensures users receive the most accurate and timely information.

Deployment is managed as part of the [generative agent deployment process](/generativeagent/configuring/deploying-to-generativeagent).

## Reviewing Imported Articles

By default, imported articles (from URL/API) require review and publishing (unless auto-deploy is enabled for the source or article).

If articles are pending review, a banner will appear at the top of the Knowledge Base page.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/mfSZBtsWldXj5V1j/image/uuid-6980a63d-3e9a-1ddd-1eb3-5395d3ece938.png?fit=max&auto=format&n=mfSZBtsWldXj5V1j&q=85&s=bed7e7d5fc0e5c39c9e20e90301b70bb" width="2880" height="1820" data-path="image/uuid-6980a63d-3e9a-1ddd-1eb3-5395d3ece938.png" />
</Frame>

You can choose between a cleaned-up or raw version of each article before publishing.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/k7thOZ7QuDJg8OOE/images/generativeagent/DetailedReview.png?fit=max&auto=format&n=k7thOZ7QuDJg8OOE&q=85&s=174fbc3378335bb10f370637360013ad" width="1600" height="991" data-path="images/generativeagent/DetailedReview.png" />
</Frame>

> If an article is updated (by new crawl or API update), the same rules apply:
>
> * Requires re-review if the parent content source is in review mode
> * Deploys instantly if in auto-deploy or frequent refresh mode

## Visual Indicators & Notifications

* Sync and deployment status is shown both for sources and individual articles.
* Recent auto-sync and deployment activity can be reviewed in audit logs or dashboards.

***

## Optimizing GenerativeAgent Article Usage

Boost GenerativeAgent’s accuracy and retrieval behavior by leveraging:

### Query Examples

Add typical customer questions to help surface relevant content:

1. In the “GenerativeAgent Instructions” column, click **Add query example**
2. Enter common questions as needed

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/ZpR04MxPPmfCMzxH/image/uuid-a6143054-92eb-a857-86e5-35434a80907a.png?fit=max&auto=format&n=ZpR04MxPPmfCMzxH&q=85&s=9352769728dd7266ef2df9aec806e168" width="393" height="313" data-path="image/uuid-a6143054-92eb-a857-86e5-35434a80907a.png" />
</Frame>

### Additional Instructions

Provide special clarifications or company-specific answers:

1. Click **Add Instruction**
2. Write a clear clarification or sample response

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/4IwYo17Co_g2p9w2/image/uuid-2165b887-ca8e-b93b-975a-03c9ec4eadbf.png?fit=max&auto=format&n=4IwYo17Co_g2p9w2&q=85&s=fe1be098d369de04298b2e9b4e1b44a2" width="281" height="230" data-path="image/uuid-2165b887-ca8e-b93b-975a-03c9ec4eadbf.png" />
</Frame>

### Article Metadata

Use metadata to ensure specific articles are only used for relevant tasks.

1. Navigate to the article and click **Edit Metadata**.
2. Add or modify metadata keys to enable targeted article discovery and control.

### Search & Filter

Easily find or bulk manage articles using metadata, status, content source, creator, or deployment state.

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBSearchBar.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=82d44af0d14b059387f9aeef9d136cd1" width="1600" height="1011" data-path="images/generativeagent/KBSearchBar.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/BwTK7Hrc1lRo0ZRw/images/generativeagent/KBSearchFilters.png?fit=max&auto=format&n=BwTK7Hrc1lRo0ZRw&q=85&s=fc89d3e93c7df3d71df8c3dd9f74b3df" width="1148" height="708" data-path="images/generativeagent/KBSearchFilters.png" />
</Frame>

<Note>
  You can select and combine multiple filters with "AND" for precise searching.
</Note>

## Preview

Quickly test live how GenerativeAgent uses your knowledge base:

1. Click the eye icon next to "Deploy"

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/4IwYo17Co_g2p9w2/image/uuid-357991fb-7e28-1e16-80eb-4861ec9bc6ef.png?fit=max&auto=format&n=4IwYo17Co_g2p9w2&q=85&s=4a2968156acf9cc29a5797e6e897ad9c" width="278" height="437" data-path="image/uuid-357991fb-7e28-1e16-80eb-4861ec9bc6ef.png" />
</Frame>

2. Start a test conversation to see answers pulled from your knowledge base

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/ZpR04MxPPmfCMzxH/image/uuid-a8a53588-8543-d39d-a267-cd8d7e793be6.png?fit=max&auto=format&n=ZpR04MxPPmfCMzxH&q=85&s=62f0cd35baa6be7e7b04a492f0bd450f" width="534" height="520" data-path="image/uuid-a8a53588-8543-d39d-a267-cd8d7e793be6.png" />
</Frame>

For more details, see the [Previewer guide](/generativeagent/configuring/previewer).

## Next Steps

Explore further integration topics:

<CardGroup>
  <Card title="Connecting Your APIs" href="/generativeagent/configuring/connect-apis" />

  <Card title="Integrating GenerativeAgent" href="/generativeagent/integrate" />
</CardGroup>
