RegPilot 5-Minute Setup Guide
Everything you need to connect your free official UK Government API keys and auto-fill WordPress booking forms or WooCommerce orders.
1. Install & Test in Sandbox Mode
- Install and activate RegPilot in WordPress (Plugins → Add New).
- Go to Settings → RegPilot. Sandbox Demo Mode is active by default so you can click Run Test on
AB21 CDEright away. - Insert the RegPilot — UK Reg Lookup Gutenberg block (or paste
[regpilot]) on any page and try the built-in demo plates:AB21 CDE,LD72 EVX,GF19 MOK,YK68 VAN,BD17 HGT,WR23 KLP.
2. Apply for Your Free Official GOV.UK API Keys
- DVLA Vehicle Enquiry Service (VES) API: Apply free at DVLA API Developer Portal (provides Make, Year, Fuel, Engine CC, Colour, Tax & MOT status).
- DVSA MOT History API (Optional but Recommended): Apply free at DVSA MOT Trade API Registration (adds Model Name, last recorded mileage, MOT expiry date, and latest MOT advisories).
Once approved, paste your keys under Settings → RegPilot, switch Operating Mode to Live UK Government APIs, click Save Settings, and verify with Run Test. RegPilot automatically handles Microsoft Entra ID OAuth 2.0 token requests and 60-minute caching for DVSA.
3. Shortcode Options
<!-- Standalone vehicle card -->
[regpilot]
<!-- Vehicle card with Booking CTA button (passes ?vrm=AB21CDE automatically) -->
[regpilot cta_text="Book MOT / Service" cta_url="/book-now"]
<!-- Compact auto-fill bar above a booking form -->
[regpilot mode="form" button_text="Find My Vehicle"]
4. Form Builder Auto-Fill Field Reference
Contact Form 7, Elementor Pro Forms & Fluent Forms — name your fields using any of the following names (Elementor's form_fields[...] wrapper is matched automatically):
vehicle_reg, vehicle_make, vehicle_model, vehicle_year, vehicle_fuel,
vehicle_engine, vehicle_tier, vehicle_colour, vehicle_mot_expiry,
vehicle_mot_status, vehicle_tax_status, vehicle_mileage, vehicle_advisories
WPForms, Gravity Forms & Ninja Forms — add any of these CSS classes to the field wrapper:
rp-field-reg, rp-field-make, rp-field-model, rp-field-year, rp-field-fuel,
rp-field-engine, rp-field-tier, rp-field-colour, rp-field-mot-expiry,
rp-field-mot-status, rp-field-tax, rp-field-mileage, rp-field-advisories
5. WooCommerce Checkout & HPOS Orders
Enable Show UK number plate lookup box on WooCommerce Checkout under Settings → RegPilot. Verified vehicle specs, service tier, MOT expiry, and workshop advisories are saved cleanly to WooCommerce orders (100% HPOS-compatible) and automatically included in admin booking emails.
Step-by-Step Integration Guides
- How to Get Free DVLA VES & DVSA MOT History API Keys
- WooCommerce Block & Classic Checkout UK Reg Lookup
- Add Free DVLA Reg Lookup to Elementor Pro Forms
- Auto-Fill WPForms & Gravity Forms with a UK Number Plate
- Free UK Number Plate & MOT Lookup for Contact Form 7
Need Help?
Email [email protected] and we'll get back to you promptly.