Skip to content

Setting Up S3-Compatible Object Storage in Unli.ai

Default Storage Option

Unli.ai provides a complimentary default storage solution with the following specifications:

  • Storage Location: AWS S3 (US East 1 region)
  • File Limit: Maximum of 100 files per workspace
  • File Size Limit: Up to 5 MB per file
  • Cost: Free with your Unli.ai workspace
  • Purpose: Ideal for small projects, initial testing, and lightweight document storage

Important Notes:

  • This default storage is automatically available when you create a new workspace
  • No additional configuration is required to use the default storage
  • If you need to store more files or larger documents, you'll need to configure a custom object storage solution

We recommend Cloudflare R2 because it is easy to set up and offers a generous free tier. However, if your organization already uses a different S3-compatible storage provider (e.g., AWS S3, MinIO, Backblaze B2), you can use that as well.


Steps to Add Object Storage

1. Select Object Storage as Data Source

  • Navigate to the Datasources section in your Unli.ai project.
  • Click Add new data source and select Object Storage from the dropdown.

object-storage-add.jpg

2. Configure Object Storage

  • Click the Configure button to open the setup window.

3. Enter Storage Details

  • Assign a label name to easily identify the storage later.

  • Fill in the S3-compatible storage details in the following format:

    json
    {
        "bucket": "your-bucket-name",
        "region": "us-east-1",
        "endpoint": "your-storage-endpoint",
        "credentials": {
            "access_key_id": "your-access-key",
            "secret_access_key": "your-secret-key"
        }
    }
  • Click Attach Storage to save the configuration.

object-storage-setup.jpg

4. Verification

Once attached, your object storage will be available in the Datasources section.

5. Uploading and Using Object Storage

  • After verification, the data source will be added, and you can upload documents directly to it.
  • This storage will also be used by default for documents obtained via web scraping or direct upload.

object-storage-upload.jpg

Your object storage is now ready to be used within Unli.ai for seamless document ingestion and AI-powered knowledge retrieval!