> ## Documentation Index
> Fetch the complete documentation index at: https://wisdomai-add-trigger-agent-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Unstructured Repositories or Datasets

WisdomAI allows you to connect your domain to an unstructured repository or dataset from an Amazon S3 bucket, thereby enhancing your chatbot responses and ensuring the AI understands the underlying structure of your information.

## Connect the Repository/Dataset

Follow the steps below to connect your Amazon S3 Bucket.

1. On your desired domain, go to **Data Sources > Files**.
2. Click on **Add Files > Connect a Repository**.

   <img src="https://mintcdn.com/wisdomai-add-trigger-agent-api/24Y8uyueYkarqKQ-/images/connect-repository.png?fit=max&auto=format&n=24Y8uyueYkarqKQ-&q=85&s=67ca1c4b26ddd257b8babc8542c91328" alt="image showing how to connect a repository" width="1440" height="858" data-path="images/connect-repository.png" />
3. Fill the configuration modal with the following:
   * **Name**: Name you want the linked s3 dataset to show up in Wisdom.
   * **Bucket Name**: Bucket where your files are stored
   * **Account ID**: The AWS account ID that has access to the bucket.
   * **Account Role** (Optional): If a specific role is needed for the access
   * **Prefix** (Optional): If you want to restrict access to a specific prefix in the S3 bucket.
4. Click **Add Dataset**.

   <img src="https://mintcdn.com/wisdomai-add-trigger-agent-api/L_sl-UlH6zJyfH6x/images/add-dataset.png?fit=max&auto=format&n=L_sl-UlH6zJyfH6x&q=85&s=cf8e9256a919f899b1ff4626ac623ac1" alt="image showing how to connect a repository" width="1440" height="858" data-path="images/add-dataset.png" />

The linked Dataset will show up in the **Files** tab.

## Next Steps

* [Configure Domains](/improve-wisdom-ai-responses/configure-domains)
* [Curate Knowledge Workflow](/improve-wisdom-ai-responses/curate-knowledge-workflow)
* [Basic Tutorial: Connect and Test](/setting-up-wisdom-ai/basic-tutorial-connect-and-test)
* [Advanced Data Modeling: Creating Knowledge](/setting-up-wisdom-ai/advanced-data-modeling-creating-knowledge)
