Prerequisites
- Node.js 16+
- A Limitly account (sign up at app.limitly.dev)
- Your Limitly API key
Step 1: Install the SDK
Step 2: Initialize the SDK
Step 3: Create a Plan
First, create a usage plan for your users:Step 4: Create a User
Create a user account:Step 5: Generate an API Key
Create an API key for the user:Step 6: Validate Requests
Now you can validate requests in your application:Step 7: Test Your Integration
Test your rate limiting with a simple request:Complete Example
Here’s a complete Express.js example:Next Steps
- SDK Documentation - Learn more about the SDK
- API Reference - Complete API reference
- Authentication - Learn about authentication
- Request Validation - Understand request validation