Station 1

Cloudflare

The building your website lives in.

Cloudflare is the company whose computers hold your website and show it to visitors. Think of it as the building the website lives in. Today it lives in ’s building. We are moving it into one with your name on the door. For a site your size, Cloudflare is free.

You will make: an account, a two-step sign-in, a key card for ’s tools, and a listing for your address. Have ready: the business email and your phone. Jump to the next undone step ↓

Create the account

Sign up with the business email, so whoever runs the business later can take over. Pick a long password you have not used anywhere else and write it where you keep passwords. Cloudflare then sends an email with a confirmation link: click it.

Open Cloudflare’s sign-up page

Does this cost anything?

No. The free plan covers a website, its database and the small background job that sends reminders. The only thing you will ever pay Cloudflare for is the address itself, about $10 a year, and that comes later, at the Address station.

Why not keep it in ’s building?

Because it is your business. If anything ever happens to , or you want someone else to look after the site, everything is already in your name and you simply hand them a key.

Turn on two-step sign-in

Your website’s keys live in this account, so a password alone is not enough. Two-step sign-in means Cloudflare also asks for a six-digit code from an app on your phone.

Open your Cloudflare profile, Authentication

  1. If your phone does not have one yet, install Google Authenticator or Microsoft Authenticator (both free) from the app store.
  2. On the Cloudflare page: Two-Factor Authentication › Enable › Mobile app authentication (not the security key option). Scan the square code with the app, type the six digits it shows.
  3. Cloudflare shows backup codes. Print them or write them down and keep them with your passwords. They get you in if the phone is lost.
What if I lose the phone?

The backup codes from step 3 sign you in once each. That is why they go on paper, not only on the phone.

Find your Account ID

Every Cloudflare account has a number, like a building number. ’s tool needs it to point at the right building. It is not a secret.

Open Workers & Pages in your dashboard

  1. On the right-hand side there is a box called Account details. In it, Account ID, with a small copy icon next to it. Click the icon.
  2. Paste it below. It is 32 letters and numbers.
I cannot find the box

The dashboard sometimes opens on a different page. Click Workers & Pages in the left-hand menu; the Account details box is on the right of that page. On a narrow screen it is further down. If you have more than one account, the one you want is the one you just made.

Let in

This is how gets into your building later to make updates: with his own login, not your password. You can remove him from the same page at any time.

Open Members in your dashboard

  1. Invite (top right).
  2. Email:
  3. Role: Administrator. Then Continue to summary › Invite.
What can an Administrator do, and what can he not?

He can put the website in, change it and set up the address. He cannot change your password, your email, your billing details or your two-step sign-in, and he cannot remove you. Those stay with the owner: you.

Make the key card

Cloudflare calls this an API token. It is a key card for ’s moving tool: it opens only the doors you tick, and you can cancel it on the same page at any time. Making it is the longest step, about eight minutes, because you add nine rows, one at a time. The check at the bottom tells you if a row is missing.

Open API Tokens in your profile

  1. Create Token. Scroll to the very bottom, past the templates, to Create Custom Token › Get started.
  2. Token name:
  3. Permissions: each row is three drop-downs. Fill the first row, click + Add more, fill the next, until all nine are there:
    • 1Account›Cloudflare Pages›Edit
    • 2Account›D1›Edit
    • 3Account›Workers Scripts›Edit
    • 4Account›Workers R2 Storage›Edit
    • 5Account›Account Settings›Read
    • 6Zone›DNS›Edit
    • 7Zone›Zone›Read
    • 8Zone›Email Routing Rules›Edit
    • 9User›User Details›Read
    Each middle drop-down has a search box: start typing the name and it finds the row.
  4. Account Resources: Include › your account (its name is in the list).
  5. Zone Resources: Include › All zones from an account › your account.
  6. Leave Client IP Address Filtering and TTL empty. Continue to summary › Create Token.
  7. Cloudflare now shows the token: one long run of letters and numbers. Click Copy and paste it below straight away. It is shown once; if you lose it, make a new one.
What does each row let do?
RowOpens
Cloudflare PagesPut the website in, update it, attach your address to it
D1Create the database and copy your bookings, waivers and photos into it
Workers ScriptsThe small background job that sends the day-before reminders
Workers R2 StorageFile storage, for sites that keep uploads (yours may not; the check says “optional”)
Account Settings · ReadRead your account’s name, so the tool can say which building it is in
DNS · Edit, Zone · ReadWrite the two lines in your address listing that point the address at the site
Email Routing RulesForwarding rules for incoming mail, if the site ever needs them
User Details · ReadLets the tool say hello: it reads the token owner’s name

Not on the list, so not possible with this card: your password, your billing, your two-step sign-in, other people’s accounts.

The check says a row is missing

Back on the API Tokens page, click the token’s name › Edit › add the row the check named › Continue to summary › Save. The token itself does not change, so click Check it again without re-pasting.

I closed the page before copying the token

No harm done. On the API Tokens page, click the three dots next to the token › Roll: Cloudflare shows a new value. Or delete it and make another. Paste the new one here.

List your address in the new building

Your address, , needs a listing in your Cloudflare account. This step only makes the listing. Nothing changes for visitors: the address keeps pointing at the old site until has moved everything in and asks you to switch, at the Address station.

Open Add a domain in your dashboard

  1. Type › Continue.
  2. Plan: Free (at the bottom) › Continue.
  3. Cloudflare reads your current listing and shows a table of records. Change nothing; Continue.
  4. It now shows two nameservers, names ending in ns.cloudflare.com, and tells you to change them at . Do not do that yet. Click Continue (or “Check nameservers later”). Done.
Why not change the nameservers now, as Cloudflare says?

Because the website is not in your building yet. If the address pointed here now, visitors would see an empty lot. moves the site in, checks it on a temporary address, and then asks you to flip the sign. That is the Address station’s second job.

Cloudflare says the domain is already in another account

Then it was added under a different login, perhaps a personal one. Each account is a separate building; the listing has to be in this one. Sign out, sign in with the business email, and add it here. If it is in ’s account, tell him; he removes it there first.

Pick your workers.dev name

This site runs as a Worker, and Cloudflare gives every account a short name for the addresses of its Workers. The first time you open Workers & Pages it asks you to pick one.

Open Workers & Pages