> For the complete documentation index, see [llms.txt](https://docs.novel.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novel.dev/guides/knowledge-base/novel-server/setting-up-cloudflare-r2.md).

# Setting up Cloudflare R2

{% stepper %}
{% step %}

### Login to your cloudflare account

{% endstep %}

{% step %}

### Go to R2 Object storage

{% endstep %}

{% step %}

### Add your domain to the CORS policy

<figure><img src="https://1973095213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ8pswmvPJ01KHGsmScic%2Fuploads%2Fe9DZPacEXraBonA11H1L%2FScreenshot%202025-01-02%20at%207.16.06%E2%80%AFPM.png?alt=media&amp;token=8494e3d8-b36a-4d8c-8d03-f890c8676351" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1973095213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ8pswmvPJ01KHGsmScic%2Fuploads%2Fj1xZwRkXhLBzC9Kyz5Dj%2FScreenshot%202025-01-02%20at%207.16.20%E2%80%AFPM.png?alt=media&amp;token=25191d4d-f058-4c8c-b08c-576d721dd6d0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Test your policy

Go to your Novel instance /account url and do an upload on your account
{% endstep %}
{% endstepper %}
