Changing out a crankshaft sensor

How do I replace the crankshaft sensor on my 2018 GMC canyon

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2947414:01crwdne2947414:0:

Greg, I'm counting at least three different engines used on the 2018 Canyons; which one do you have? Also, submodel information would help too; looks like the choices are All Terrain, Base, Denali, SL, SLE and SLT. Is it 4WD or RWD? Crew or Extra cab?

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0