Configure R2 delivery
- Open R2 in your Cloudflare account. Copy the bucket name and the 32-character hexadecimal account ID.
- Create an R2 credential with object read and write access restricted to the destination bucket. Copy its Access Key ID and Secret Access Key. Keep public bucket access disabled.
- In the 1.1 review build, open Settings → Object storage delivery and select Cloudflare R2. Enter the account ID, bucket and key pair. Add a prefix such as
proofs/if desired.
provider: "r2", accountId, bucket, prefix, accessKeyId and secretAccessKey. DocKiln derives the R2 endpoint from the account ID and signs with region auto. Settings reads omit the secret.
Generate a proof
Send this body to POST /v1/documents.proofs/<workspace-id>/<job-id>.pdf in R2. Use the job’s download path for authenticated access or request a five-minute link. For a delivery failure, verify that the access key belongs to the same account and has permission on this bucket.