Setting up CloudFlare as a Proxy (Orange Cloud)
First, ensure your domain is on CloudFlare and the “Proxy Status” is set to “Proxied” in your DNS Records.If you need help adding a custom domain to GitBook, refer to the GitBook DNS configuration guide. Note that GitBook recommends not using CloudFlare as a proxy, but it’s required for our integration.
Configuration of CloudFlare
After setting up CloudFlare as a proxy, you’ll need to adjust settings. Choose between automatic or manual setup.Automatic Setup (Recommended)
This is the fastest and safest method using our auto-configuration tool.Get API Key
- Visit CloudFlare API Tokens
- Click “Create Token”
- Click “Get started”
- Configure with these parameters:
- Click “Create Token”
- Copy your token
Get Zone ID
- Visit CloudFlare Zones
- Click on your domain
- Copy the Zone ID
Configure with our tool
- Visit https://cms.cookbook.dev/cloudflare
- Enter your API Key and Zone ID
- Enter your desired subdomain/domain
- Click “Configure Cloudflare”
Manual Setup (Temporary not available!)
As of August 28, due to CloudFlare API changes, manual setup is temporarily unavailable. Please use the automatic setup method above.