What I'm looking for is something to replace external CHAT systems with something that stores all the data in our systems, replacing Intercom or whatever else.
Not sure what this article was trying to get at. If a SAAS service could be replaced by a single line of code, then you did not need to use it in the first place.