> ## 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.

# Wrangler Quick Start

> Get Veriox running using the Wrangler CLI.

This guide covers the same steps as the [main quick start](/getting-started/quick-start) but using the Wrangler CLI instead of the Cloudflare dashboard.

<Info>
  There is no separate testnet mode for merchants — verification uses real Concordium identities from the moment your worker is deployed and routed. Test the flow yourself with your own wallet before opening it to visitors.
</Info>

## Prerequisites

* A [Veriox account](https://portal.veriox.io)
* A Cloudflare account with your domain proxied
* [Node.js](https://nodejs.org) 18+ installed
* A [Concordium wallet](https://concordium.com/download/) with a fully verified identity, for testing
* Wrangler installed and authenticated:

```bash theme={null}
npm install -g wrangler
wrangler login
```

## Step 1 — Create a worker in the Veriox portal

1. Sign in to [portal.veriox.io](https://portal.veriox.io)
2. Go to **Workers** → **New Worker**
3. Enter a name
4. Copy the **private key** shown after creation (displayed only once)
5. On the worker's **Install** page, click **Download worker** to get `veriox-worker.js` (personalised with your Worker ID)

## Step 2 — Deploy the worker

Put `veriox-worker.js` in a new folder with this `wrangler.toml`:

```toml theme={null}
name = "my-site-age-verification"
main = "veriox-worker.js"
compatibility_date = "2024-05-01"
compatibility_flags = ["nodejs_compat"]
```

Set your private key as a secret — the only value you need to set:

```bash theme={null}
wrangler secret put VERIOX_PRIVATE_KEY
# paste the private key from the portal when prompted
```

Deploy:

```bash theme={null}
wrangler deploy
```

All verification settings (network, age, session length) are managed in the portal — no variables to configure here.

## Step 3 — Add a Worker Route

In the Cloudflare dashboard, go to **Workers & Pages** → your worker → **Settings** → **Triggers** → **Add Route** and enter `yourdomain.com/*`.

## Step 4 — Test it

Open your site in an incognito window. The Veriox popup should appear. Use your [Concordium wallet](https://concordium.com/download/) to complete a verification.

<Check>
  Popup appeared and verification completed? Your integration is working.
</Check>

## Next steps

* [All worker configuration options](/configuration/worker-options)
* [Go live](/installation-wrangler/go-live)
