Spotter Documentation

Cloudflare access

Spotter reads your Cloudflare account with an account API token that you create.
The token can read everything in the account (billing, security settings, certificates, traffic and resources), but it can't change anything.

Create the token

  • Log in to the Cloudflare dashboard and select your account.

  • Go to Manage account → Account API tokens and select Create Token.

  • Choose the Read all resources template and give the token a name, for example Cloud2 Spotter.

  • Check that every permission is Read, that Account Resources includes your account, and that Zone Resources includes all zones from the account.

  • Recommended: under Client IP Address Filtering, allow only Spotter's address 13.49.185.81.

  • Optional: set an expiry date under TTL.

    If you set an expiry date, you must replace the token in Spotter before it expires. After that date Spotter can't read the account and its Cloudflare data stops updating.

  • Select Continue to summary, then Create Token, and copy the token.

Use an account API token, not a user API token from My Profile. A user token stops working when that person leaves the account.

Find the account ID

The account ID is the 32-character code in the dashboard address after dash.cloudflare.com/<account_id>/home. It is also shown on the account's home page.

  • Log in to Spotter.

  • Go to Admin → Integrations → Cloudflare.

  • Click add new and fill in the account ID, a name to show in Spotter and the API token.

Spotter checks the token with Cloudflare before saving it. You can also send the account ID and token to Cloud2 through a secure channel and we link the account for you.

To replace the token later, open the account with details and edit it there.