This whole 30 pin connector is behind the glove box. There’s that 30 pin OBDstar plugged in line with the the factory plug.
For anyone that doesn’t have the 30-pin cable, it’s really easy. Top 2 left pins are CAN high and CAN low which is pin one and pin two, just use a backprobe and connect to your tools vci CAN Low and CAN High pins plus power and ground and you’re home free. Been doing it this way and takes no longer then using the 30-pin connector.
Here is an example (IM508 and Sienna 2023 no using 30 pin cable.)
After connect 30 pin cable, select vehicle, read and decode VIN.
Then go to Control Unit->Keyless System (CAN)->Backup IMMO Data
Make sure your device is connected to good network connection.
Read then save eeprom.
Select Add smart key function
Perform 2 steps to complete key programming with Autel im508.
Step 1: PIN Verification
Step 2: Key Learning
Turn on ignition switch with a working key.
Enter and confirm VIN
Upload eeprom just saved to read pin code
Read pin finished.
Start key learning.
Put a working key close to Start button
Then put a new key to be programmed to Start button
Learning key completed.
Test both keys.
Autel IM508 & 30 pin models related reading: