Your vehicle is not onboard programmable which means, you will need a dealer or automotive locksmith to program the vehicle to accept the replacement remote. Please use an automotive locksmith rather than the dealer. You are likely to get a better service for a more reasonable price.
Remote For Scion:
This remote features 3 buttons: Lock, Unlock, and Panic. This remote sends it's signals on a frequency of 315Mhz. This remote will work for your vehicle if your vehicle is equipped with factory keyless entry.
The following vehicles can use this remote when equipped with the factory keyless entry system:
2008 Scion XB, 2009 Scion XB, 2010 Scion XB, 2011 Scion XB, 2012 Scion XB.