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
- Download the
cmdvault-api.zipplugin file. - In your WordPress dashboard go to Plugins → Add New → Upload Plugin.
- Choose the file and click Install Now, then Activate.
- A CmdVault menu item will appear in the admin sidebar.
Step 2 — Create an Application Password
- Go to Users → Your Profile.
- Scroll to the Application Passwords section.
- Enter a name such as
CmdVaultand click Add New Application Password. - Copy the generated password — it will not be shown again.
Step 3 — Connect the Tool
- Open the CmdVault tool in your browser.
- Go to Settings → Sync.
- Enter your site URL, WordPress username, and the Application Password.
- 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
- Add a test command in the tool.
- Click the cloud sync button — you should see a success toast.
- Refresh and confirm the command is still present (loaded from WordPress).
- 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.