Create server integration credentials
Find your Environment ID, Site Key, Access Key, and Content ID. Keep credentials on your trusted backend.
Find your integration values
Copy these values from DRM-X Console. Keep credentials on your server.
- Environment ID / Site ID
Select the environment that contains your published video.
- Site Key / Client ID
Copy the identifier of your playback API client.
- Access Key
Save this secret when it is first shown. Do not send it to the browser.
- Content ID
Copy the Content ID of a video whose status is Published.
Copy the four values used by the quick start#
Create a playback API client in Console → Integrations and grant only license-tokens:create. Get the Content ID from the Published protected file created in Console → Package content.
Find your integration values
Copy these values from DRM-X Console. Keep credentials on your server.
- Environment ID / Site ID
Select the environment that contains your published video.
- Site Key / Client ID
Copy the identifier of your playback API client.
- Access Key
Save this secret when it is first shown. Do not send it to the browser.
- Content ID
Copy the Content ID of a video whose status is Published.
PHP code-first settings
return [
'platformApi' => 'https://api6.drm-x.com',
'siteId' => 'your-development-environment-uuid',
'siteKey' => 'drmx_your_environment_scoped_client_id',
'accessKey' => 'paste-your-one-time-access-key',
'applicationId' => 'customer-php-website',
'content' => [
'id' => 'your-published-content-id',
'title' => 'Your protected title',
'type' => 'vod',
],
'licensePolicyTemplate' => 'multi-tier-standard',
'licensePolicy' => null,
'licenseDeliveryMode' => 'direct-token',
];
No environment variables are required for the downloaded quick start. The example contains commented production alternatives for environment or secret-manager injection.
Use a different API client for each application or backend service so one credential can be rotated or revoked without interrupting every integration.
DRM-X 6.0