> ## 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.

# Getting Started

To get started with GenerativeAgent, let's create a GenerativeAgent that can help a customer from your knowledge base. By the end, you'll have a working GenerativeAgent that can answer customer questions using your own content.

<Note>
  This is a basic example to get you started quickly. As you develop more sophisticated GenerativeAgent solutions, you'll want to explore [additional use cases](/generativeagent/build/adding-a-use-case) and consider the [comprehensive design](/generativeagent/build-overview) of your implementation.
</Note>

## Before you begin

Before you begin, make sure you have:

* Followed the [Set up your account](/getting-started/setup) guide to get access to the ASAPP AI Console.
* A customer-facing knowledge base URL (such as your help center or support documentation)

## Step 1: Connect Your Knowledge Base

The first step is to import your knowledge base content so GenerativeAgent can use it to answer customer questions.

We will use the Import from URL to import your knowledge base content but you have other options on how to [connect your knowledge base](/generativeagent/configuring/connecting-your-knowledge-base).

<Steps>
  <Step title="Navigate to 'GenerativeAgent > Knowledge' in the AI Console" />

  <Step title="Click 'Add content' and select 'Import from URL'">
    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/RRg3Ad4pxY3z3L-S/images/generativeagent/getting-started/import-url.png?fit=max&auto=format&n=RRg3Ad4pxY3z3L-S&q=85&s=7debfce88b6f5a20dc0c6039663ff359" alt="Import from URL" width="678" height="292" data-path="images/generativeagent/getting-started/import-url.png" />
    </Frame>
  </Step>

  <Step title="Enter your knowledge base URL in the 'External content URL' field">
    Optionally, you can import specific sections of your site by specifying [allowed URL Prefix or Excluded URLs](/generativeagent/configuring/connecting-your-knowledge-base#step-1%3A-importing-your-knowledge-base).
  </Step>

  <Step title="Click 'Import content' to start the process">
    Your content will be imported and placed in a **Pending Review** state.
  </Step>
</Steps>

## Step 2: Review and Publish Your Content

After crawling your knowledge base, we will create a list of articles that could be added to the GenerativeAgent knowledge base.

You need to review and publish the articles:

<Steps>
  <Step title="Look for the notification">
    At the top of the Knowledge Base page, look for the notification indicating articles need review.

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/RRg3Ad4pxY3z3L-S/images/generativeagent/getting-started/new-notification.png?fit=max&auto=format&n=RRg3Ad4pxY3z3L-S&q=85&s=cec2626ed02598822b0c8d031b21b745" alt="New notification" width="737" height="284" data-path="images/generativeagent/getting-started/new-notification.png" />
    </Frame>
  </Step>

  <Step title="Click to review the imported articles" />

  <Step title="Review each article:">
    For each article:

    * Choose between the cleaned-up or raw version
    * Add relevant query examples that customers might ask (e.g., "What is your return policy?")
    * Click **Publish** when you're satisfied with the content
  </Step>
</Steps>

## Step 3: Create a Basic Task

Now that your knowledge base is set up, let's create a simple task for GenerativeAgent to handle customer inquiries.

A task is a set of instructions that tells GenerativeAgent what to do. We go into more detail about tasks and functions in the [Learn More About Tasks and Functions](/generativeagent/configuring) guide.

<Steps>
  <Step title="Navigate to 'GenerativeAgent > Tasks'" />

  <Step title="Click 'Create task'" />

  <Step title="Define the task">
    Here we provide sample names and instructions, but you are in full control of GenerativeAgent's behavior and can customize them to fit your needs.

    Fill in the following fields:

    * **Task name**: "Answer\_Customer\_Questions"
    * **Task selector description**: "Use this task when customers ask questions about our products, services, or policies."
    * **General Instructions**: "Answer customer questions clearly and concisely using information from the knowledge base. If the answer isn't in the knowledge base, politely explain that you don't have that information and offer to help them find other information."

    <Frame>
      <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/oB-2D3RTXWsKX5TI/images/generativeagent/getting-started/create-task.png?fit=max&auto=format&n=oB-2D3RTXWsKX5TI&q=85&s=31ef05a2968f23b4281181b673f5e2a8" alt="Dashboard Create task" width="1202" height="507" data-path="images/generativeagent/getting-started/create-task.png" />
    </Frame>
  </Step>

  <Step title="Save the task" />
</Steps>

## Step 4: Try It Out in the Previewer

Now let's test your GenerativeAgent with the [Previewer](/generativeagent/configuring/previewer):

1. Navigate to **GenerativeAgent > Previewer**
2. Select **Draft** environment from the dropdown
3. Type a test question related to your knowledge base content (e.g., "What is your return policy?")
4. Send the message and observe GenerativeAgent's response
5. Use the Turn Inspector panel on the right to see which knowledge base articles were used and how GenerativeAgent processed the request

<Frame>
  <img src="https://mintcdn.com/asapp-04-04-getting-started-ga/oB-2D3RTXWsKX5TI/images/generativeagent/getting-started/try-out-previewer.png?fit=max&auto=format&n=oB-2D3RTXWsKX5TI&q=85&s=c743dbf77b0143578ec87da98ae2e2e9" alt="The previewer side panel" width="1209" height="673" data-path="images/generativeagent/getting-started/try-out-previewer.png" />
</Frame>

## Safety

GenerativeAgent is has been developed with a safety-first approach.

ASAPP ensures GenerativeAgent's accuracy and quality with rigorous testing and continuous updates, preventing hallucinations through advanced validation. Our team has incorporated Safety Layers that provide benefits such as reliability and response trust.

Our safety standards include:

* Safety Layers
* Hallucination Control
* Data Redaction
* IP Blocking
* Customer Info and Sensitive Data Protection

<Tip>
  You can learn more about this in [Safety and Troubleshooting](/generativeagent/configuring/safety-and-troubleshooting).
</Tip>

## What's Next

Congratulations on setting up a basic GenerativeAgent to answer customer questions using your knowledge base!

Now that you have a working GenerativeAgent, here are the recommended next steps to understand GenerativeAgent more holistically and build a complete solution:

<CardGroup>
  <Card title="Build Overview" href="/generativeagent/build-overview">
    Get a comprehensive understanding of how GenerativeAgent works and the complete build process.
  </Card>

  <Card title="Adding a Use Case" href="/generativeagent/build/adding-a-use-case">
    Learn how to design and implement specific use cases for your contact center needs.
  </Card>

  <Card title="Previewer" href="/generativeagent/configuring/previewer">
    Test and refine your GenerativeAgent before deploying to production.
  </Card>

  <Card title="Integrate" href="/generativeagent/integrate">
    Connect your CCaaS and backend systems to create a complete GenerativeAgent solution.
  </Card>
</CardGroup>
