# Update an EKG using the Knowledge Component

# Update an EKG using the Knowledge Component

Use this component to ingest new information into an Enterprise Knowledge Garden (EKG) during the workflow.

Prerequisite: The target EKG must already exist and be in a Published state. Draft or Unpublished EKGs cannot be selected in this component.

  • Step 1: Add and Link the Component

    • Drag the Knowledge Garden Update component from the Component Panel onto the canvas.

    • Create a visual edge by dragging from an output node of a preceding component to the input node of the Knowledge Garden Update component.

  • Step 2: Configure the Update Operation

    • Click the component to open its Configuration Panel.

    • In the Choose Knowledge field, select the target Enterprise Knowledge Garden from the dropdown menu. Only existing KBs will appear in this list.

    • In the Input field, map the variable from a previous step that contains the files to be ingested.

  • Step 3: Add Metadata and Tags (Optional)

    • To enrich the ingested documents, you can add structured metadata and tags:

      • In the Metadata section, click the + button to add key-value pairs (e.g., DocumentType: Invoice). The key field includes a dropdown that lists existing metadata keys previously used in the selected Knowledge Garden.

      • In the Tags section, add one or more tags to classify the documents.

    • This information improves searchability and filtering for retrieval-based agents that use this Knowledge Garden.

Only published EKGs can be used. Learn more about publishing and managing EKGs in the [EKG documentation].