CmdVault WordPress Plugin — Setup Guide

Step-by-step guide to installing the CmdVault API plugin on WordPress and connecting it to the tool.

Requirements

  • WordPress 6.0 or later
  • PHP 7.4 or later
  • Administrator privileges
  • REST API enabled (default in WordPress)

Step 1 — Install the Plugin

  1. Download the cmdvault-api.zip plugin file.
  2. In your WordPress dashboard go to Plugins → Add New → Upload Plugin.
  3. Choose the file and click Install Now, then Activate.
  4. A CmdVault menu item will appear in the admin sidebar.

Step 2 — Create an Application Password

  1. Go to Users → Your Profile.
  2. Scroll to the Application Passwords section.
  3. Enter a name such as CmdVault and click Add New Application Password.
  4. Copy the generated password — it will not be shown again.

Step 3 — Connect the Tool

  1. Open the CmdVault tool in your browser.
  2. Go to Settings → Sync.
  3. Enter your site URL, WordPress username, and the Application Password.
  4. Click Test Connection, then Save.

Step 4 — Admin Settings

From the dashboard, navigate to CmdVault → Settings to configure:

  • Authentication mode (Application Password / Legacy / Dual)
  • API logging and retention settings
  • Tool URL and site label shown in the tool header

Step 5 — Verify Sync

  1. Add a test command in the tool.
  2. Click the cloud sync button — you should see a success toast.
  3. Refresh and confirm the command is still present (loaded from WordPress).
  4. Check CmdVault → API Logs to see the requests logged.
Tip: Use Application Passwords rather than your main WordPress password. They can be revoked independently, giving you fine-grained access control.
Note: If your site uses a security plugin that blocks REST API access for non-authenticated users, ensure the /cmdvault/v1/auth endpoint is whitelisted — it must be publicly accessible to issue tokens.