> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 3. Configure and train the Classify activity

> Upload training documents, assign classes, and train the classification activity.

The goal of this step is to teach Advanced Designer how to determine the class of a document. We need to upload a document set for training, assign reference classes to the uploaded documents, and train the classification activity.

<Steps>
  <Step title="Download the training documents">
    Download the documents that will be used in the skill and unzip the archive.
  </Step>

  <Step title="Open the Activity Editor">
    Double-click the `Classify By Text and Image` activity to open the **Activity Editor**.
  </Step>

  <Step title="Upload the documents">
    1. Click the **Upload** button on the toolbar and select **Upload Documents...**
    2. Select the documents you downloaded earlier and click **OK**.

    All documents are uploaded to the **No Class** list.
  </Step>

  <Step title="Create and assign classes">
    Create two classes — "DE" for German documents and "BE" for Belgian and Dutch documents — and assign them.

    1. Select all German documents in the list.
    2. Click **Create Class** in the toolbar.
    3. Enter the class name "DE" and click **Create and Assign**.
    4. Select the rest of the documents in the **No Class** list.
    5. Click **Create Class** again.
    6. Enter the class name "BE" and click **Create and Assign**.

    <Note>
      There are many ways to upload documents and assign classes. If your documents are organized into subfolders by class, select the **Upload Folder Like Classes...** option in the **Upload** menu. Advanced Designer automatically creates a class for each subfolder and assigns it to all documents uploaded from that subfolder.
    </Note>
  </Step>

  <Step title="Train the activity">
    Click **Train Activity** to train the classifier. After training finishes, classification statistics appear on the **Results** tab.

    Analyzing these statistics helps identify problem classes and evaluate the overall quality of the classifier. For metrics and methods for fixing classification errors, see [Train a classifier and view classification results](/vantage/documentation/advanced-designer/activities/classify-by-text-and-image#train-a-classifier-and-view-classification-results).
  </Step>

  <Step title="Return to the Activities tab">
    Click the name of the skill to exit the **Activity Editor** and go back to the **Activities** tab.
  </Step>
</Steps>

## What's next

<CardGroup cols={2}>
  <Card title="Step 4. Configure the IF activity" icon="arrow-right" href="/vantage/documentation/advanced-designer/tutorial/tutorial-step-4">
    Set up conditional routing based on document classification results.
  </Card>

  <Card title="Tutorial overview" icon="circle-info" href="/vantage/documentation/advanced-designer/tutorial/tutorial">
    Back to the tutorial introduction.
  </Card>
</CardGroup>
