Your Mazda has a temporary spare tire. The temporary spare tire is lighter and smaller than a conventional tire, and is designed only for emergency use and should be used only for VERY short periods. Temporary spare tires should NEVER be used for long drives or extended periods.
WARNING
Do not install the temporary spare tire on the front wheels (driving wheels):
Driving with the temporary spare tire on one of the front driving wheels is dangerous. Handling will be affected.
You could lose control of the vehicle, especially on ice or snow bound roads, and have an accident. Move a regular tire to the front wheel and install the temporary spare tire to the rear.
CAUTION
Drive carefully.
To remove the spare tire
1. Lift the trunk mat.

2. Turn the spare tire hold-down bolt counterclockwise.

To secure the spare tire
Store the spare tire in the reverse order of removal. After storing, verify that the spare tire is stored securely.
Jack
Changing a Flat TireMazda 6 Owners Manual: Electrical parts
Battery cable
Before disconnecting connectors or removing electrical parts, disconnect
the negative battery cable.
Wiring Harness
To remove the wiring harness from the clip in the
engine room, pry up the hook of the clip using a
flathead screwdriver.
...
Mazda 6 Owners Manual: Sas unit configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. Select the following items and perform procedures according to directions
on the screen.
...