Old (2006) car unlock button

what is the manual way to setup an older car unlock/fob (sorry not sure the correct jargon) button

Varies from manufacturer to manufacturer and even between models.