I am looking to implement a hangouts chat bot for my customers. I am fairly new to the Google ecosystem, so I apologize in advance if some of this is obvious.
Here is my basic confusion:
- It looks like in order to access the REST api the chat api requires a service account.
- Does this mean that I will have to ask every customer to create a service account using their Google cloud account?
- Corollary to the above is: Does every GSuite account have a Google cloud platform account associated with it?
- If the service account has to be created, would the customer somehow need to share the private key for that account with me in order for my application to make calls on behalf of the service account.
My end goal is to give my customers a seamless experience where they can choose to
- Install my bot in the Google Chat app for their GSuite domain
- At the time of install get some information about their domain
- Whenever a message is sent to the bot (DM or Room), identify who the message is coming for and in which GSuite domain, and reply accordingly.
Is this possible? Am I missing some very obvious Google concepts?
Thanks in advance.