Create a new site
Create an EmDash site in seven wizard steps, from name to review.
Create a site in seven wizard steps.
Before you start
- You are a Developer, Admin or Owner, or your custom role holds
sites:write. See Roles and permissions. - You have a GitHub account and a Cloudflare account with R2 turned on. Workers Free accounts are accepted. See Requirements.
- For a site on an End User's GitHub account, the owner creates the repository in GitHub first: tick Add a README file, set
.gitignoreand the license to None, and choose no template. Fleet writes the site only into a repository whose default branch holds one commit with one file,README.md. - A repository from your own template, or an existing one, must call
createScheduledHandler()insrc/worker.tswith nogeneralCron, or withgeneralCron: "*/5 * * * *". Any other value makes EmDash ignore Fleet's schedule. See Deploy to Cloudflare.
The four official templates you choose from in wizard step 4:
Template | What the site starts with |
|---|---|
Starter | Posts, pages, categories and tags with minimal styling, a base to build on. |
Blog | A clean blog with a featured post, an archive, search and an RSS feed. |
Marketing | A landing page built from content blocks: hero, features, testimonials and pricing. |
Portfolio | A project grid with tag filters, case study pages and an RSS feed for new work. |
Steps
- Open the Sites tab and select Create new site. To resume later, select Resume site creation on the Sites tab within 7 days, on the same device.
- In wizard step 1, enter the site name: 1 to 40 characters, using letters A to Z, digits, spaces and hyphens. Fleet derives the resource names from it.
- In wizard step 2, choose the GitHub source: A connection of this workspace, A new connection through OAuth, or Ask the account's owner, which makes a one-time link for an End User.
- In wizard step 3, choose the Cloudflare source the same way. Fleet shows the Workers plan and, for a new connection or an End User link, the Free limits. If it cannot read the plan, select "This account is on Workers Paid" only when it is.
- In wizard step 4, choose where the site's code comes from: New repository from an EmDash template (the default), New repository from your template or Existing repository. For an EmDash template, choose Starter, Blog, Marketing or Portfolio. Blog is selected first. Type the name of a new repository; Fleet creates it as private. For an existing repository on an End User account, choose the template, then type
owner/name. - In wizard step 5, choose the data location: "Automatic" or "European Union". You cannot change it later. Workers code and secrets are global in both cases, and KV may cache values outside the European Union.
- In wizard step 6, add a domain, an environment tag and a logo, all optional. The domain must be in an active zone of the same Cloudflare account and needs a reusable Cloudflare connection. The tag is production, development, staging or text of up to 24 characters. The logo is a PNG or JPEG of up to 512 KB. For a site made from an EmDash template, select "Let editors install plugins from the EmDash plugin registry" to let editors add sandboxed plugins in the site's admin. Fleet offers it when the Cloudflare account is on Workers Paid. You can change it later on the site page. Leave the checkbox "Deploy the site as soon as it is set up" selected to deploy when provisioning ends.
- In wizard step 7, review the summary, then select Create. Fleet starts provisioning, and a build never runs on a push to the repository.

Result
- Fleet creates the Worker, D1 database, R2 bucket and KV namespace in your Cloudflare account, and a new repository in your GitHub account. The site shows Creating site, then Ready to deploy, or Deploying when the checkbox was selected.
- For an official template, Fleet writes the repository in two commits. The first holds the template's files exactly as EmDash publishes them. The second, named "Configure Fleet site", adds Fleet's two workflow files, a dependency lock file and the site's settings, and replaces four files with Fleet's version. Fleet deletes no file. See What Fleet for EmDash can access.
- When a source comes from an End User, the site waits as Awaiting permissions. Fleet provisions nothing until every grant has arrived.
- After the first deploy, the site shows Setup not finished until you finish the EmDash setup, then Active. See Open a site's EmDash admin from Fleet.
If something goes wrong
At the plan limit:
The free beta covers up to <n> <sites, team members, workspaces or API tokens>. To ask for a higher limit, open a ticket under Support and tell us how many you need. We reply within 2 business days.
R2 not turned on:
R2 file storage is not turned on for this Cloudflare account. Turn it on in the Cloudflare dashboard, then select Retry.
Repository already in use:
This repository already backs a site in Fleet. Choose another repository.
GitHub refused to create the repository:
GitHub refused to create the repository. Create an empty repository with a README yourself and select it.
GitHub did not finish creating the repository in time:
GitHub did not finish creating the repository within 60 seconds. Nothing else was created. Try again.
The repository already holds files. Fleet fills only a repository whose one file is README.md:
The repository <owner>/<name> already holds files, so Fleet did not write the site into it. Create an empty repository with only a README, give Fleet for EmDash access to it, then press Retry.
Fleet could not confirm the template files. If it repeats, ask from Support in the dashboard with the job ID:
Fleet could not confirm that the files it was about to write match the official EmDash template, so it wrote nothing more. Fleet support has been told. Try again later.
No stable EmDash release available:
Fleet has no stable EmDash release yet, so it could not prepare the site's packages. Select Retry in a few minutes.
An End User did not use every link in time:
Not every link was used within 7 days, so Fleet created nothing. On the site page, select Create link or New link, then send it again.
For other failures, see Site creation failed. Never send a token, a password or an API key to support.