Install from the Cloudflare app store.
If you don't want to use the Cloudflare app or you want to customize how logs are sent from Cloudlfare to Logflare see ./workers/worker.js and add a custom worker to your Cloudflare account.
Install the dependencies with yarn install
then build the project with yarn build
(or npm run build
).