Installing the Credentium® Integration Plugin for Moodle
This guide walks you through installing and setting up the Credentium® Integration plugin for Moodle.
Before You Begin
Prerequisites
- Moodle 4.5 or higher installed and running
- PHP 7.4 or higher (PHP 8.0+ recommended)
- Site administrator access to your Moodle installation
- Credentium accountwith:
- API URL (e.g.,
https://issuer.credentium.com/api) - API Key (format:
cred_xxxxx.yyyyy) - At least one active credential template
- API URL (e.g.,
Verify Requirements
- Check your Moodle version: Site Administration > Notifications
- Check PHP version: Site Administration > Server > PHP info
- Ensure cron is running: Site Administration > Server > Scheduled tasks
Download the Plugin
From GitHub Releases
- Go to GitHub Releases
- Download the latest
local_credentium-X.Y.Z.zipfile - Verify the download using provided checksums (SHA256/MD5)
Installation Methods
Method 1: Web Interface Installation
- Log in to Moodle as a site administrator
- Go to Site Administration > Plugins > Install plugins
- Drag and drop the ZIP file, or click Choose a file to select it
- Click Install plugin from the ZIP file
- Review the plugin validation results
- Click Continue to proceed with installation
- Review the database upgrade information
- Click Upgrade Moodle database now
- After upgrade completes, click Continue
Method 2: Command Line Installation
# Navigate to your Moodle installation
cd /path/to/moodle
# Extract the plugin to the local directory
unzip local_credentium-X.Y.Z.zip -d local/
# Run the upgrade script
php admin/cli/upgrade.php
Method 3: Manual Installation
- Extract the ZIP file contents
- Upload the
credentiumfolder to{moodle}/local/ - Ensure the folder structure is:
{moodle}/local/credentium/version.php - Log in as administrator
- Go to Site Administration > Notifications
- Follow the upgrade prompts
Post-Installation Configuration
After installation, you'll be redirected to the plugin settings page.
Step 1: Enable the Plugin
- Go to Site Administration > Plugins > Local plugins > Credentium® Integration
- Check Enable Credentium Integration to activate the plugin
Step 2: Enter API Credentials
- Enter your API URL (e.g.,
https://issuer.credentium.com/api) - Enter your API Key (the full key including the dot)
- Click Save changes
Step 3: Test the Connection
- Click the Test Connection button
- A new window opens showing connection results
- Verify you see "Connection successful" and your templates listed
Step 4: Configure Optional Settings
- Enable category mode - Turn on to allow separate API credentials for different course categories. This enables multi-tenant deployments where different departments or programs can use their own Credentium organization accounts.
- Enable debug logging - Turn on temporarily for troubleshooting
Verify Installation
Check Plugin Status
- Go to Site Administration > Plugins > Plugins overview
- Search for "Credentium® Integration"
- Verify the plugin shows as installed with correct version
Check Database Tables
The following tables should exist after installation:
mdl_local_credentium_issuancesmdl_local_credentium_course_configmdl_local_credentium_category_configmdl_local_credentium_templates_cache
Check Scheduled Tasks
- Go to Site Administration > Server > Scheduled tasks
- Search for "Credentium® Integration"
- Verify "Process pending credentials" task is registered
Configure Course Completion
The plugin requires course completion tracking to work.
Enable Completion Tracking Site-Wide
- Go to Site Administration > Advanced features
- Check Enable completion tracking
- Click Save changes
Enable Completion for a Course
- Go to the course settings
- Under Completion tracking, select Yes
- Set completion criteria (activity completion, grade, etc.)
- Save changes
Next Steps
After installation:
- Configure global settings
- Set up your first course
- Test credential issuance
Upgrading the Plugin
Before Upgrading
- Backup your Moodle database
- Check release notes for breaking changes
- Verify new version compatibility with your Moodle version
Upgrade Process
- Download the new version from GitHub Releases
- Replace the existing
local/credentiumfolder with the new version - Go to Site Administration > Notifications
- Follow the database upgrade prompts
- Verify settings are preserved
- Test connection with Credentium API
Uninstalling the Plugin
Before Uninstalling
- All issuance history will be deleted
- Course configurations will be removed
- This cannot be undone
Uninstall Process
- Go to Site Administration > Plugins > Plugins overview
- Search for "Credentium® Integration"
- Click Uninstall
- Confirm the uninstallation
- Review what will be deleted
- Click Continue
Troubleshooting Installation
"Plugin is missing from disk"
Cause: Files not in correct location
Solution:
- Verify folder structure is
local/credentium/version.php - Check file permissions (web server must be able to read)
"Requires Moodle 4.5 or higher"
Cause: Moodle version is too old
Solution:
- Upgrade Moodle to 4.5 or higher
- Or use an older plugin version compatible with your Moodle
"Plugin validation failed"
Cause: Corrupted download or incomplete extraction
Solution:
- Re-download the plugin
- Verify checksum matches
- Extract again ensuring no errors
Database upgrade fails
Cause: Database permissions or conflicts
Solution:
- Check database user has ALTER TABLE permissions
- Review Moodle error logs for details
- Try running upgrade from command line with
--verbose
Need Help?
If you encounter installation issues, please contact:
Credentium Support Email: support@credentium.com
Include:
- Moodle version
- PHP version
- Error messages
- Steps you've already tried
Last updated: January 2026
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article