There have been a few other posts related to this one, but here's my install of the retractable tailgate T-Step from Eagle4x4 on my 2025 Ford Ranger Raptor (in the USA)..
I needed a bed step that would work with the tailgate down (and didn't bolt-onto / interfere-with the usage of the tailgate...