ECOM | Cloudflare Proxy Setup Guide

Welcome to our Cloudflare Proxy onboarding guide. This step-by-step process will ensure your site is properly configured to use Cloudflare's proxy service, enhancing security and performance.

 

Important Note: Transitioning to the CF Workers Proxy Service

This guide applies to both new users and existing users transitioning from our old proxy:

  1. New Users:
    • If your content site is currently using the root domain, you can directly follow the setup steps below without additional adjustments.
  2. Existing Users on the Old Proxy:
    • If your content site is currently using a subdomain, you will need to migrate it to the root domain before proceeding.
    • Adjust the DNS settings according to your platform (e.g., WordPress or your CDN).
    • This migration requires scheduling to avoid any potential downtime. Please coordinate with your team to plan this transition carefully.
    • Once the domain transition is complete, follow the steps outlined below to set up the new Cloudflare proxy.

  3. Clearing your cache
    After completing this integration you will be able to clear your own cache inside of cloud flare below is a screenshot and the Cloudflare article on how to do this when needed
    How To Clear Cache in Cloudflare
    Screenshot 2024-12-17 at 5.06.32 PM-1
     

Step 1: DNS Configuration

To set up Cloudflare Workers and proxy specific paths to your eCommerce site, DNS records must have proxy enabled.

Step 2: Accessing Cloudflare Credentials

  1. Log in to Cloudflare using the credentials provided for your account.
  2. Select the appropriate account 
  3. Retrieve your Zone ID and Account ID:
    • While on overview scroll down to the “API” section and copy the Zone ID and Account ID.

Step 3: Creating an API Token

  1. Click on “Get your API token.” If you don't have access, request your admin to create one  or higher level access..
  2. If the “Create Token” option is available:
    • Click the button and use the "Edit Cloudflare Workers" template.
    • During creation, ensure you select the correct Account and Zone Resources
  3. Click “Continue to Summary” and then “Create Token.”
  4. Copy and securely save the generated token.

Step 4: Information Collection for Onboarding

Share the following details with ou team:

  • Account ID, Zone ID, and API token.
  • Main domain

 

If any issues or challenges arise please reach out to your onboarding coach or the ECOM support team to assist or answer any questions.