> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veriox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 2 — Deploy the Worker

> Create and deploy the Veriox worker from the Cloudflare dashboard.

<Steps>
  <Step title="Open Cloudflare Workers">
    Log in to [dash.cloudflare.com](https://dash.cloudflare.com), then click **Workers & Pages** in the left sidebar. If you have not used Workers before, Cloudflare's [Workers overview](https://developers.cloudflare.com/workers/) has a brief introduction.
  </Step>

  <Step title="Create a new worker">
    Click **Create** → **Create 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.
  </Step>

  <Step title="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](https://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**.
  </Step>

  <Step title="Add your private key">
    Go back to your worker's settings page. Click **Settings** → **Variables 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.

    <Warning>
      Choose **Secret**, not plain text, so the key is encrypted at rest and hidden in the dashboard.
    </Warning>
  </Step>
</Steps>

<Note>
  All verification settings — minimum age, popup behaviour, location targeting, 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.
</Note>

<Card title="Next: Configure your route" icon="arrow-right" href="/installation-dashboard/configure-route">
  Point your domain at the worker so Veriox can intercept requests.
</Card>
