Chat:Bridge Component Architecture
![CB architecture.png](../../__attachments/657061/CB%20Architecture.png?inst-v=c1b1287b-e13f-4219-a469-28e4ed73e7d2)
Components
Chat:Bridge Salesforce Package
Chat:Bridge App for Slack (hosted on Salesforce Heroku Platform)
Salesforce REST API
Slack REST API
Postgres DB (Salesforce Heroku Add-on)
Application Cache (Heroku Add-on) for transient context and data
Data flow from Salesforce to Slack through the Chat:Bridge App:
Chatter Feed and Comments
Files (Attachments or Embedded Images) from Salesforce Objects to Slack
Salesforce Object Data via pre-defined Layouts
Data flow from Slack to Salesforce through the Chat:Bridge App:
Slack Message Content
Slack Files
Search Salesforce Objects; Retrieve Details based on pre-defined Object Page Layout