To configure a gated resource in the CCM admin panel, follow these steps:

Step 1: Access the Admin Panel

Log into the CCM intern application at http://localhost:8010 with your admin credentials.

Step 2: Create Gated Resource

Navigate to the “Gated Resources” tab and click “Add New Resource”. Fill in the form:

  • Resource ID: portal-demo-2025 (must match the portal_resource_id in Hugo frontmatter)
  • Resource Title: Display name shown in the modal
  • Resource Type: Select the appropriate type (PDF, whitepaper, etc.)
  • Upload File: Select the PDF or document to serve

Step 3: Configure Verification

  • Set Is Active to Yes to enable the resource
  • Set Requires Verification to Yes for gated downloads, or No for direct downloads

Step 4: Test the Flow

Return to the Hugo site, find the resource, and test the download flow. Check the “Download Leads” tab in the admin panel to verify lead capture.

Troubleshooting:

  • If the modal doesn’t open, ensure the React bundle is loaded
  • If verification emails don’t arrive, check SMTP configuration
  • If downloads fail, verify file permissions on the storage directory