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

# ShareX

> Configure ShareX to upload to sCloud

# ShareX Integration

You can easily configure [ShareX](https://getsharex.com/) to upload images and files directly to your sCloud bucket.

## Configuration

1. Download the custom uploader configuration or create a new one.
2. Replace `YOUR_BUCKET_NAME` with your actual bucket name.
3. Replace `YOUR_API_KEY` with your valid sCloud API key.

### SXCU Configuration

Copy the code below and save it as `sCloud.sxcu`, then double-click it to install.

```json theme={null}
{
  "Version": "15.0.0",
  "Name": "sCloud",
  "DestinationType": "ImageUploader, FileUploader",
  "RequestMethod": "POST",
  "RequestURL": "https://cdn.sacul.cloud/YOUR_BUCKET_NAME",
  "Headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  },
  "Body": "MultipartFormData",
  "FileFormName": "file",
  "URL": "{json:url}",
  "ThumbnailURL": "{json:thumbnailUrl}",
  "ErrorMessage": "{json:error}"
}
```

## Manual Setup

If you prefer to configure it manually in ShareX:

1. Open **Destinations > Custom uploader settings**.
2. Click **New**.
3. Set **Name** to `sCloud`.
4. Set **Request URL** to `https://cdn.sacul.cloud/YOUR_BUCKET_NAME`.
5. Set **Method** to `POST`.
6. Add a **Header**:
   * Name: `Authorization`
   * Value: `Bearer YOUR_API_KEY`
7. Set **Body** to `Multipart form data`.
8. Set **File form name** to `file`.
9. In the **URL** box (bottom right), enter `{json:url}`.
