Swif now provides a pre-configured application template for Bitdefender GravityZone on Windows devices. This template simplifies the deployment process by providing a guided configuration flow, including automated license activation via the GravityZone API.
If you are looking for command installation approach, you can learn more at How to Install Bitdefender GravityZone Using a Command Template in Swif.
Prerequisites
Before you begin, ensure you have the following information from your Bitdefender GravityZone console:
API Key: Generated in the GravityZone console.
Company ID: Your unique Bitdefender company identifier.
Product Key: Your Bitdefender license key (format:
XXXX-XXXX-XXXX-XXXX).
Configuration Steps
1. Locate the Template
Navigate to Device Management > Applications in the Swif console.
In the Application Templates for One-Click Installation carousel at the top, look for the Bitdefender Template (identified by the red "B" logo and a green "New" badge).
Click Configure to start the setup. Note: This template is specifically designed for Windows.
2. Installer Arguments
The Installer Arguments field is empty by default, allowing you to input custom configuration flags (e.g., /silent /norestart). You can also use the Swif IQ-Code Mode panel on the right for AI-assisted scripting if needed.
3. License Activation (Post-Install Script)
The template includes a pre-filled PowerShell script in the Post-Install Command Script section. This script uses the GravityZone JSON-RPC API to automatically register your license key after the agent is installed.
Important: You must replace the placeholder values in the script editor. Look for the yellow warning banners and update these variables:
$apiKey = "YOUR_API_KEY"$companyId = "YOUR_COMPANY_ID"$productKey = "XXXX-XXXX-XXXX-XXXX"
4. Validation & Finalization
Validation Rule: The template comes with a pre-configured rule that checks for the presence of the Bitdefender agent file (or service) to confirm a successful installation.
Create App: Review your settings and click Create. The app will now appear in your Applications list.
Deployment & Verification
Once the application is created, you can deploy it to any Windows device with a single click. Swif will:
Install the Bitdefender agent.
Execute the post-install script to activate the license.
Verify the installation using the built-in validation rule.
For more detailed information on GravityZone API methods, you can refer to the Bitdefender GravityZone API Documentation.
