See marker example (there you'll see how to get the API KEY) and autocomplete example.
I also recommend to read about info windows and simple icons (not used in this example).