Prerequisites
- A Cloudflare account with Workers deployed
- Your Cloudflare Account ID (found in the Cloudflare dashboard under any domain overview or the Workers section)
- Permission to create API tokens
Step-by-Step Setup
1. Navigate to Integrations
In your Corelayer dashboard, go to the Integrations page.2. Add Cloudflare Integration
Click the Add Integration button and select Cloudflare from the list of available integrations.3. Enter Your Account ID
Provide your 32-character Cloudflare Account ID. You can find this in your Cloudflare dashboard under Workers & Pages > Overview or on any domain’s overview page.4. Create an API Token
In your Cloudflare dashboard:- Go to My Profile > API Tokens
- Click Create Token
- Configure the token with the permissions Corelayer requires (read access to Workers)
- Copy the generated token and paste it into the Corelayer setup form
5. Test Connection
Click Test Connection to verify that Corelayer can access your Cloudflare account.6. Select Workers
Once connected, select which Cloudflare Workers you want Corelayer to monitor.7. Add Workers to Your Service Maps
When configuring your Corelayer Service Maps, select which Cloudflare Workers are relevant to each service.What Corelayer Can Do With Cloudflare
Once connected, Corelayer will:- Monitor your Cloudflare Workers for errors and performance issues
- Pull Worker logs and execution data for debugging context
- Correlate Cloudflare data with other integrations for root-cause analysis
Managing Your Integration
Disconnecting
To disconnect your Cloudflare integration:- Navigate to Settings > Integrations
- Find your Cloudflare integration and click Uninstall
- Confirm the uninstallation
- Optionally, revoke the API token in your Cloudflare dashboard
Troubleshooting
Integration Not Working?
- Verify your Account ID is correct (must be a 32-character hexadecimal string)
- Ensure the API token has the required permissions
- Check that the token has not expired or been revoked
- Confirm your Workers are deployed and active

