It seems clear to me I would have built an app around the API, not the chat window.