# Providers Overview (/docs/providers/overview)



A provider is the integration between Upload SDK and a storage service.

It handles the provider-specific work needed to create a signed upload target.

Upload SDK currently includes providers for:

* [AWS S3](/docs/providers/aws-s3)
* [ImageKit](/docs/providers/imagekit)
* [Neon Object Storage](/docs/providers/neon-object-storage)

<Note>
  Support for **Cloudflare R2** is planned for a future release.
</Note>

## What a provider does [#what-a-provider-does]

After Upload SDK validates the reported file information and generates a storage key, the selected provider:

* Creates a signed upload policy or token
* Chooses the provider upload endpoint
* Adds the required multipart form fields
* Applies constraints supported by that provider
* Returns a short-lived prepared upload

For example:

```ts
const storageProfiles = defineStorageProfiles({
  uploads: awsS3({
    bucket: process.env.AWS_BUCKET!,
    region: process.env.AWS_REGION!,
    credentials: {
      accessKeyId: process.env.AWS_ACCESS_KEY_ID!,
      secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
    },
  }),
});
```

Here, `awsS3()` is the provider integration.

The surrounding `uploads` name is the storage profile. Storage profiles are explained separately in [Storage Profiles](/docs/core-concepts/storage-profiles).

## What changes between providers [#what-changes-between-providers]

Each provider uses its own signing method and upload fields.

### AWS S3 [#aws-s3]

AWS S3 creates a signed multipart `POST` policy.

The returned fields can include:

* The object key
* A signed policy
* AWS signature fields
* The declared content type
* Metadata
* Upload-size constraints

### ImageKit [#imagekit]

ImageKit creates a signed upload request.

The returned fields can include:

* A filename and folder
* A signed token
* Expiration
* MIME checks
* Metadata
* Overwrite settings

### Neon Object Storage [#neon-object-storage]

Neon Object Storage is S3-compatible, so it uses the same signed multipart `POST` policy as AWS S3.

The differences are in addressing:

* The upload URL is your branch storage endpoint followed by the bucket name
* Credentials are Neon credentials with the `storage:write` scope
* Each Neon branch has its own view of the bucket

The exact configuration and returned fields are covered in each provider guide.

## What stays the same [#what-stays-the-same]

Your application uses the same SDK flow with every provider:

```ts
const preparedUpload = await uploader.prepareUpload(
  "avatar",
  input,
);
```

The client also follows the same multipart upload pattern:

```ts
const formData = new FormData();

for (const [name, value] of Object.entries(
  preparedUpload.fields,
)) {
  formData.append(name, value);
}

formData.append("file", file);

await fetch(preparedUpload.url, {
  method: preparedUpload.method,
  headers: preparedUpload.headers,
  body: formData,
});
```

The provider changes the returned URL and fields. The overall upload flow stays the same.

## Keep provider credentials on the server [#keep-provider-credentials-on-the-server]

Provider configuration contains private credentials used to sign uploads.

Keep it in server-only code.

The client receives short-lived signed upload instructions, not your AWS, ImageKit, or Neon private credentials.

## Next steps [#next-steps]

* [AWS S3:](/docs/providers/aws-s3)
  Configure S3 and understand its signed POST fields.

* [ImageKit:](/docs/providers/imagekit)
  Configure ImageKit and understand its signed upload fields.

* [Neon Object Storage:](/docs/providers/neon-object-storage)
  Configure a Neon branch bucket and understand its signed POST fields.

* [Storage Profiles:](/docs/core-concepts/storage-profiles)
  Organize provider configurations by name.
