Megapot Network · launch a site

Launch a Megapot site. Two steps.

Anyone can ship a player-facing marketing site — or follow the ticket-selling how-to. Get your referral code, then choose what to launch. Play stays on Megapot.

01 · Referral

Get your referral code

Register or open the Megapot dashboard and create your referral code. Everyone uses 8 characters. That code is how Megapot attributes play from the site you launch — it is not a public page decoration. Format hint: ABCD1234.

Paste the code in Step 2 before Launch. The host stores it as MEGAPOT_PLAY_DESTINATION. Public HTML on the site you ship should never print it.

02 · Launch

Choose what to launch

One primary path: a player marketing site on Cloudflare Pages. Vercel is available as a secondary host. Ticket-selling is a how-to, not a one-click dump.

Primary · Marketing site

Player-facing marketing shell

You get a public site that sells play, cloned from a ready-made template. Play buttons go to /go. The host keeps MEGAPOT_PLAY_DESTINATION private — your referral is not printed on the pages visitors see.

Enter your 8-character referral code to enable Launch.

Launch on Cloudflare PagesLaunch on VercelOpen template
  1. Connect GitHubUse the template repo. Cloudflare Pages is recommended; Vercel is the secondary host.
  2. Set private envNames only: MEGAPOT_PLAY_DESTINATION (your Play URL with referral) and SITE_HOSTNAME (the hostname of the site you are launching).
  3. DeployBuild output is out/. Play must stay a Function hop, not a static page.
  4. Smoke /gocurl -sI /go (and /go/) must be HTTP 302.
Tickets

Ticket-selling site

There is no one-click ticket template on this factory. Sell tickets by wiring Megapot into a site you already have, or by following the builder docs. Step 1 attribution still applies when you go live.

  1. Start herePick the lane that matches selling tickets on your own site.
  2. Add the jackpotDrop buy and claim into a product you already run.
  3. Ask an agentPoint it at llms.megapot.io for live recipes.

Reading this how-to does not require a referral code. Create one in Step 1 before you go live so play is attributed to you.

People and agents

Factory notes

Scrape this section for the launch contract. Copy is for humans first; agents second.

What this site is
megapot.build is the launch factory for Megapot Network sites. It is not the player homepage. Clones ship a ready-made player marketing shell.
Two steps
Step 1 — get an 8-character referral code in the Megapot dashboard. Step 2 — launch a marketing site (referral-gated Cloudflare Pages / Vercel) or follow the ticket how-to (no code gate to read).
Required env names
MEGAPOT_PLAY_DESTINATION, SITE_HOSTNAME. Document names only. Factory Pages project megapot-build sets SITE_HOSTNAME=megapot.build so HTML and /go Location match.
Smoke checks
curl -sI /go and curl -sI /go/ must be HTTP 302. Never a static 200.