Add a storage provider via the admin console
1
Open the Providers page
Navigate to
/providers in the admin console.2
Click New Provider
Click the New Provider button.
3
Choose a provider type and configure it
Select one of the supported provider types (Local, S3, or GitHub Repo) and fill in the required fields. See Provider configuration below for the fields specific to each type.
4
Save
Click Create. The profile is now available for use when uploading assets.
5
Set as default (optional)
To make this the default provider, open the profile and click Set as Default, or use the API endpoint described in Setting the default provider.
Create a storage provider via the API
Send a POST request to/api/v1/system/storage/providers. Pass provider-specific configuration in the configuration and secretConfiguration objects.
Provider configuration
Local
Stores files on the server’s local filesystem. Suitable for single-server deployments and development.S3-compatible
Stores files in any S3-compatible object storage service, including Amazon S3, MinIO, Cloudflare R2, and others.GitHub Repo
Stores assets as files committed directly to a GitHub repository. Useful for public static asset hosting viaraw.githubusercontent.com.
Setting the default provider
To designate a provider profile as the default, send a POST request to/api/v1/system/storage/providers/{id}/set-default: