Prebaked
Docs

Quick start

Last reviewed

You can set up Prebaked in about 10 minutes: add your domain, verify it, install one small piece in front of your site and test it with curl. Crawlers then get a fully rendered copy of your pages. People keep getting your site as it is.

What you need:

  • a site you can change: a Cloudflare account for the domain, or access to your server, Netlify or Vercel project;
  • the site served over https://.

Step 1: Create your account

Prebaked is in early access. Ask for access, then sign in to the dashboard at app.prebaked.io. Every new account starts with a 30-day free trial with Starter limits: 1,000 pages, 3 domains and a refresh every 24 hours. No card is needed.

Step 2: Add and verify your domain

Open Domains and enter your site, for example example.com. The apex and www.example.com count as one domain, so you add it once. Other subdomains, such as app.example.com, are separate domains.

Then prove that you own it. Pick one way:

Way What you do
Connect with Cloudflare (recommended) Sign in to Cloudflare from the dashboard. Prebaked verifies the domain and installs itself in the same step. Your Cloudflare credential is used once and not stored.
DNS TXT record Add the TXT record _prebaked-verify.example.com with the value shown in the dashboard (prebaked-verify= and 32 characters).
File on your site Upload a text file to https://example.com/.well-known/prebaked-verify.txt with the same value.

Prebaked checks the domain again every day. If the check fails 7 days in a row, the domain goes back to unverified and you get an email.

Step 3: Install Prebaked

On Cloudflare: if you used Connect with Cloudflare in step 2, you are done. Prebaked added a Worker and routes for example.com/* and www.example.com/*. You can also start it later from the domain's Setup page.

Anywhere else: open the domain's Setup page and create a domain token. The full token is shown only right after you create it, because Prebaked stores only a hash of it. Then point your middleware at Prebaked. With Express and the official prerender-node middleware:

app.use(
  prerender
    .set('prerenderServiceUrl', 'https://service.prebaked.io/')
    .set('prerenderToken', process.env.PREBAKED_TOKEN),
);

Add it before your static files and app routes. Always use https:// for the service URL: Prebaked refuses plain http:// calls. Step-by-step guides for every setup, including nginx, Netlify, Vercel and a hand-made Cloudflare Worker, are on Integrations.

Already using another prerender service? You only change the service URL and the token. See switching.

Step 4: Test with curl

Ask for a page as Googlebot, then as a normal visitor:

curl -A "Googlebot" https://www.example.com/
curl https://www.example.com/

The first command should return your full content: headings, text and links. The second returns your normal page, which may be an almost empty shell for a JavaScript app. The first crawler request also shows up in the dashboard request log.

The first request for a page can take a few seconds while Prebaked renders it. Later requests come from the cache.

Step 5: Check with the checker

Run the free checker on the same page. It fetches the page with the GPTBot user agent and compares it with what a browser sees. The fetch goes through your integration like any crawler request, so an installed page should show as fully visible.

If crawlers still get an empty page, follow Crawlers still see an empty page.

Next steps

FAQ

Do I need to verify the domain separately?

Yes, unless you use Connect with Cloudflare, which verifies the domain and installs Prebaked in the same step. Prebaked renders only verified domains and answers 403 until then.

Where do I put the token?

In an environment variable or secret named PREBAKED_TOKEN where your integration runs, such as a Worker secret or your hosting provider's environment settings. Do not commit it to your repository. The service URL goes in PREBAKED_SERVICE_URL.

Does this work on Replit?

Yes, with the right integration. A Static deployment runs no server code, so put Cloudflare in front of it. An Autoscale or Reserved VM deployment runs your Node server, so add the Express middleware.

How do I check that it works?

Run curl -A "Googlebot" against a page and look for your full content. Then press Check installation on the domain's Setup page: it shows the first and latest crawler request that reached Prebaked.

Will my visitors notice anything?

No. Only requests from known crawler user agents go to Prebaked. People get your site exactly as before.

Do I need a credit card for the trial?

No. Every new account starts with a 30-day free trial with Starter limits, and no card is needed.