
Getting Started
To integrate CrowdSec into your Edgee project:1
Create CrowdSec Console account
- Sign up for a free CrowdSec Console account
- Verify your email and complete the account setup
2
Set up Raw IP List integration
- Log into your CrowdSec Console
- Navigate to Blocklists > Integrations
- Find “Raw IP List” and click Connect
- Enter a unique name for your integration (e.g., “Edgee Integration”)
- Click Generate to create your credentials

Your username and password will only be displayed once. Copy and store them securely immediately.
3
Subscribe to blocklists
- Navigate to the Blocklist Catalog
- Subscribe to relevant blocklists for your use case:
- CrowdSec Community Blocklist: General malicious IPs
- Aggressive Crawlers: Block aggressive web scrapers
- Brute Force IPs: IPs performing brute force attacks
- Configure your integration to use these blocklists
4
Add component to Edgee
- Open the Edgee console and navigate to your project’s Components
- Select “Add a component” and choose
edgee/crowdsec
from the security section - Configure the component with your CrowdSec credentials
5
Configure component settings
Enter the following required parameters:
- Endpoint URL: The endpoint URL displayed in step 2, you can also find it in the integration details on the CrowdSec console
- API Username: The username generated in step 2
- API Password: The password generated in step 2
Replace
{YOUR_INTEGRATION_ID}
with the actual integration ID from your CrowdSec Console.6
Test and activate
- Click Save to activate the protection
- Check CrowdSec Console for integration activity
How It Works
The CrowdSec component operates as a security filter using crowd-sourced threat intelligence:- Extract client IP address from incoming request
- Check IP against cached CrowdSec blocklist
- If IP is blocked: Return 403 Forbidden response
- If IP is clean: Allow request to proceed normally
- On API errors: Fail open (allow traffic for reliability)
Configuration Parameters
Your CrowdSec Raw IP List API endpoint. Format:
https://admin.api.crowdsec.net/v1/integrations/{integration_id}/content
Find your integration ID in the CrowdSec Console under Blocklist > Integrations.Username for HTTP Basic Authentication with the CrowdSec API. Generated when you create the Raw IP List integration.
Password for HTTP Basic Authentication with the CrowdSec API. Store securely and regenerate if compromised.
Request timeout in milliseconds for CrowdSec API calls. Range: 100-10000ms. Lower values provide faster failover but may increase false negatives on slow networks.
Performance & Reliability
The component is designed for high-performance edge deployment:- Smart Caching: Blocklists cached for 5 minutes with 1-hour stale fallback
- Background Refresh: Updates happen without blocking user requests
- Fail-Safe Design: Never blocks legitimate traffic due to API issues
The component prioritizes availability over security - if CrowdSec’s API is unreachable, traffic flows normally rather than being blocked.
Testing Your Setup
Best Practices
- Monitor Regularly: Check CrowdSec Console for integration health and blocklist updates
- Credential Security: Edgee automatically encrypts and securely stores your API credentials. Rotate them periodically for best security practices
- Blocklist Selection: Choose blocklists relevant to your traffic patterns and threat model
- Performance Testing: Monitor impact on page load times, especially cache miss scenarios
- Layered Security: Use CrowdSec alongside other security components for comprehensive protection
- Log Analysis: Review blocked IPs periodically to understand threat patterns
Integration Benefits
- Real-time Protection: Block threats within minutes of community detection
- Zero Maintenance: Automatic updates require no manual intervention
- Community Intelligence: Leverage insights from thousands of CrowdSec deployments worldwide
- Edge Performance: Filtering occurs at CDN edge before reaching origin servers
- Cost Reduction: Decrease server load and bandwidth usage from malicious traffic
- Easy Setup: Simple API integration with comprehensive documentation
Related Security Features
Enhance your security posture by combining CrowdSec with other Edgee security features:DataDome Bot Protection
Advanced bot detection and fraud protection using machine learning to complement IP-based blocking.
Rate Limiting
Control request rates and prevent abuse with built-in rate limiting capabilities.
Access Control
Implement IP whitelisting, geographic restrictions, and custom access rules.
Layered Security Approach: For maximum protection, consider implementing multiple security components. CrowdSec’s IP blocking works excellently with DataDome’s bot detection and Edgee’s built-in rate limiting.