Getting Started with DLM WordPress Plugin
Learn how to install and configure DLM Pro to start managing software licenses for your WordPress plugins in under 10 minutes.
# Getting Started with DLM WordPress Plugin
Managing software licenses for your WordPress plugins doesn't have to be complicated. In this guide, we'll walk you through installing DLM Pro and setting up your first license-protected product in under 10 minutes.
## Step 1: Install the Plugin
Download DLM Pro from your account dashboard. Go to **WordPress Admin → Plugins → Add New → Upload Plugin** and upload the ZIP file.
## Step 2: Activate Your License
After activation, navigate to **DLM Settings** and enter your API key. This connects your WordPress site to the DLM platform.
## Step 3: Create Your First Product
In the DLM dashboard, create a new product and define your license plans:
- **Single Site**: One domain per license
- **Developer**: Up to 5 domains
- **Agency**: Up to unlimited domains
## Step 4: Integrate the SDK
Add the DLM SDK to your plugin:
```php
// In your plugin's main file
require_once plugin_dir_path(__FILE__) . 'dlm-sdk/dlm-sdk.php';
$dlm = new DLM_License_Manager([
'product_key' => 'your-product-key',
'api_url' => 'https://api.dlm.vn/v1',
]);
if (!$dlm->is_valid()) {
// Show license nag or disable features
}
```
## You're Ready!
That's it. Your plugin now validates licenses on every page load. Users who purchase through DLM get an automatic activation email.
**Next steps**: Set up [webhooks](#) to get notified on license events, or explore the [analytics dashboard](#) to track activation stats.