Skip to main content
1

Open Cloudflare Workers

Log in to dash.cloudflare.com, then click Workers & Pages in the left sidebar. If you have not used Workers before, Cloudflare’s Workers overview has a brief introduction.
2

Create a new worker

Click CreateCreate Worker. Give it a name (e.g. veriox-age-verification) and click Deploy.You will see a default “Hello World” worker — that is fine, you will replace the code in the next step.
3

Replace the worker code

Click Edit code. Delete all the existing code and paste in the Veriox worker code from the portal.In portal.veriox.io, go to your worker → Install and click Copy worker. The code you copy is personalised to this worker — your Worker ID is already built in, so there’s nothing else to configure here.Paste it into the Cloudflare editor, then click Deploy.
4

Add your private key

Go back to your worker’s settings page. Click SettingsVariables and Secrets, then Add and set:
  • Type: Secret
  • Variable name: VERIOX_PRIVATE_KEY
  • Value: paste the private key you copied in Step 1
Click Deploy to save. This is the only value you need to add — the Worker ID is already in the code.
Choose Secret, not plain text, so the key is encrypted at rest and hidden in the dashboard.
All verification settings — minimum age, network (testnet/mainnet), popup behaviour, session duration — are managed on your worker’s page in the portal. Changes take effect within a few minutes; you never need to redeploy the worker to change them.

Next: Configure your route

Point your domain at the worker so Veriox can intercept requests.