Skip to main content
Cloudflare is in Beta. It is available to every tenant and shows a Beta badge in Settings › Integrations › Directory. If something does not match your Cloudflare account, contact support@msportal.ai.
Cloudflare brings your clients’ zones into MSPortal: SSL/TLS mode, minimum TLS version, Always Use HTTPS, DNSSEC, security level, managed WAF, Cloudflare Registrar renewals, and the email-authentication DNS records (SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI and MX). This setup is for MSP staff with integration management access. MSPortal only reads from Cloudflare. It never edits DNS records or zone settings.

Before you connect

Create an API token in Cloudflare with read permissions only. Follow Cloudflare’s token instructions:
  1. In Cloudflare, open My Profile › API Tokens › Create Token › Create Custom Token. An account-owned token from Manage Account › API Tokens also works.
  2. Add these read permissions: Account Settings Read, Zone Read, DNS Read, Zone Settings Read and Zone WAF Read. If you register domains with Cloudflare Registrar, add Registrar read access too.
  3. Choose the accounts and zones the token can read, create it, and copy it securely.
A setting the token cannot read shows as unknown in MSPortal, and the sync continues.

Connect

  1. Open Settings › Integrations, choose Directory, find Cloudflare, and choose Connect.
  2. Paste the token into API token.
  3. Choose Test connection. A successful test shows how many accounts and zones the token can read. A rejected token shows Connection failed with the reason.
  4. Choose Save and continue. MSPortal saves the token in the vault and starts the first sync.
Connect Cloudflare page with the API token field, Test connection, and the Before you start steps listing the read permissions.

Match zones to companies

Each Cloudflare zone is a domain. On Import or match companies, link each zone to an existing company, or review the suggested matches first. A zone never creates a company. Ignore hides a zone that is not a client’s, and you can restore it later. Mapped zones appear in Documentation › Domains with Cloudflare in the Sources column. Domains registered with Cloudflare Registrar also show Expiry and Auto-renew. A change to a match takes effect right away; nothing needs to sync again.

Review posture

  • Reports: add the Cloudflare Zone Posture block. It shows zones with findings, every finding type, the zones needing attention, and Registrar renewals due within 30 days. It reflects the latest sync, not the report period.
  • AI reports: security reports include a Cloudflare summary and the zones with findings.
  • Assistant and MCP: ask about domain security, or use get_cloudflare_zone_posture.
Findings: Flexible SSL (traffic from Cloudflare to the origin is unencrypted), SSL off, TLS 1.0/1.1 allowed, HTTPS not enforced, DNSSEC off, security level off, managed WAF off, and zone paused. Only active zones are judged, and an unknown setting never counts as a finding.

Sync and troubleshooting

Cloudflare syncs daily. To sync now, choose Run sync on the connection page or on the integration’s row. Large accounts take longer because MSPortal stays within Cloudflare’s API rate limit.
  • Test fails with a rejected token: check that the token was copied in full and has not expired or been revoked.
  • A setting shows as unknown: add the matching read permission to the token, then run a sync.
  • No Registrar dates: the domain is not registered with Cloudflare Registrar, or the token lacks Registrar read access.
To remove the connection, open More actions on the connection page and choose Disconnect…. This removes the stored token, the zone matches and the data synced from Cloudflare. It changes nothing in Cloudflare; revoke the token there when you no longer need it.