Google Chat app samples

This section provides Google Chat app samples hosted on GitHub. These samples help you build and deploy different kinds of Chat apps quickly.

For step-by-step instructions about how to build a basic Chat app, try a quickstart.

When you're ready to review other samples, the Google Chat repo on GitHub contains working examples of different types of Chat apps, including apps that:

  • Respond synchronously or asynchronously.
  • Respond with a card-formatted response.
  • Use Google Cloud Pub/Sub to receive and respond to messages asynchronously.
  • Call other APIs.

Find GitHub samples at the left under GitHub samples or review a productivity tracking Chat app that uses multiple APIs written in Python.

Next steps

To learn how to add more functionality to your Chat app after reviewing and implementing Google Chat sample apps, refer to the resources below:

  • Google Chat API — Respond to Chat app interaction events and gain RESTful access to Chat resources like messages, spaces, and attachments.
  • Google Chat app feature guides — Review Google Chat concepts, study architecture options, and learn how to implement Chat app features like slash commands, dialogs, and link unfurling.
  • Publish Chat apps — When you're ready to bring your Chat app to the masses, or to a defined group of users, learn how to publish it.
  • Chat app design principles — The Google Chat design principles are a system we've put together to help you build high-quality Chat apps. The system rests on two pillars: design principles and a card-based UI framework.