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

# STRG

> Connect Mixpeek to STRG object storage through the S3-compatible API and sync your buckets into Mixpeek.

[STRG](https://strg.com) is S3-compatible object storage with no egress fees. Mixpeek reads from it through the standard S3 connection, pointed at STRG's regional endpoint.

## Prerequisites

* A STRG account with a bucket holding the files you want Mixpeek to process.
* The bucket's region: `us-east-1` (US East) or `eu-central-1` (EU Central).

## Configuration Steps

**1. Create a read-only access key in STRG**

1. Open **Access Keys** in the STRG dashboard ([app.strg.com/access-keys](https://app.strg.com/access-keys)).
2. Create a key named for Mixpeek, scoped to the bucket (and prefix, if you only want part of it).
3. Give it read and list permissions only. Mixpeek never writes to the source bucket.
4. Copy the access key ID and secret access key. STRG shows the secret once.

See [STRG access keys](https://docs.strg.com/access-keys) for the scope and permission options.

**2. Check the key with the AWS CLI (optional)**

```bash theme={null}
aws s3 ls s3://YOUR_BUCKET_NAME \
  --endpoint-url https://s3.us-east-1.strg.com \
  --region us-east-1
```

Use `https://s3.eu-central-1.strg.com` for an EU bucket.

**3. Create the storage connection**

```bash theme={null}
curl -X POST "https://api.mixpeek.com/v1/organizations/connections" \
  -H "Authorization: Bearer $MIXPEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "strg-video-library",
    "provider_type": "s3",
    "provider_config": {
      "credentials": {
        "type": "access_key",
        "access_key_id": "YOUR_STRG_ACCESS_KEY_ID",
        "secret_access_key": "YOUR_STRG_SECRET_ACCESS_KEY"
      },
      "region": "us-east-1",
      "endpoint_url": "https://s3.us-east-1.strg.com"
    },
    "test_before_save": false
  }'
```

The response carries the `connection_id`. A save-time test calls `ListBuckets`, which a key scoped to one bucket may not be allowed to do, so this example skips it and the first sync run is the test.

**4. Sync the bucket**

Create a [sync](https://docs.mixpeek.com/docs/platform/syncs.md) on a Mixpeek bucket, with `source_path` set to your STRG bucket name and, optionally, a prefix. The steps match the [Amazon S3 guide](https://docs.mixpeek.com/docs/integrations/object-storage/s3.md).

## Verification

After the first sync, the bucket's objects appear in your Mixpeek bucket and flow into any collections attached to it. If the first sync fails, check that the endpoint region matches the bucket's region and that the key's scope includes the bucket.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.