For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
    • ASP.NET
    • Callout Enforcer
      • Cloudflare Worker changelog
      • Installation
      • Installation with Terraform
      • Manual installation
      • Deploy the Cloudflare Enforcer for Shopify applications
      • API
      • Configuration
      • Configuration (v5 and Below)
      • Upgrading to Version 6
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • Prerequisites
  • 1. Configure DNS for your Shopify store
  • 1. Define your custom domain in Shopify
  • 2. Create the CNAME record in Cloudflare
  • 3. Verify the domain in Shopify
  • 2. Deploy the HUMAN Cloudflare Enforcer
Enforcer frameworksCloudflare Worker

Deploy the Cloudflare Enforcer for Shopify applications

Was this page helpful?
Previous

API

Next
Built with

You can use the HUMAN Cloudflare Enforcer to protect your Shopify applications. This integration uses an Origin-to-Origin (O2O) model where Cloudflare acts as a secure proxy between the end-user and your Shopify origin server. The process involves configuring your domain, deploying the HUMAN Worker, and routing traffic through the Cloudflare proxy. You can learn more about activating O2O routing so the Enforcer can work with your Shopify store with this article.

Prerequisites

  • An active Shopify store with a known .myshopify.com address.
  • An active Cloudflare account that manages your application’s domain.

1. Configure DNS for your Shopify store

First, you need to configure Cloudflare to handle requests for your Shopify store’s domain.

1. Define your custom domain in Shopify

  1. In Shopify admin, navigate to Settings > Domains.
  2. Click Connect existing domain, enter the domain you will use, such as example.shop.com.
  3. Click Next. Shopify will provide a target value, typically shops.myshopify.com, that you will use in Create the CNAME record in Cloudflare.

2. Create the CNAME record in Cloudflare

  1. In your Cloudflare dashboard, select your domain and navigate to DNS > Records.
  2. Click Add record and configure it as follows:
    • Type: CNAME
    • Name: The subdomain for your shop.
    • Target: The value provided by Shopify, such as shops.myshopify.com.
    • Proxy status: Ensure this is toggled on as Proxied .
  3. Click Save.

We recommend you also create a CNAME record for the www version of your subdomain, such as www.shop, that points to the same target.

3. Verify the domain in Shopify

  1. Return to your Shopify Domains settings and click Verify connection.
  2. Confirm that the status updates to Connected. This may take a few minutes.

2. Deploy the HUMAN Cloudflare Enforcer

With the DNS configured, you can now deploy the HUMAN Cloudflare Worker that will act as the Enforcer. For complete instructions, see Install the Cloudflare Enforcer.

Once you complete those steps, your integration is complete. The HUMAN Enforcer will now actively analyze all traffic to your Shopify store, and you can monitor activity and mitigation events in the HUMAN console.