1. Review the Google Talk developer docs.
2. Build a client, connect your service with Google Talk, or embed the client into your web pages.
Google Talk is an instant messaging service built on open protocols. Google has opened its IM service so that you can hook your own client applications into the Google Talk service, or you can connect (federate) your service with ours.
The Google Talk service is built on the following open-source protocols: