The Slack app usually consists of program code (e.g. PHP) and a database (e.g. MySQL) that runs on the server and interacts with Slack through one of the APIs. All information about a specific Slack command is stored in a user database using a unique command identifier as a key. The server must be accessible from the Internet so that Slack can communicate with it. The server for running the application program code and a custom database for the application is not provided by Slack, but it must be configured and maintained by the developer of the Slack application.
In Slack mode, only the basic configuration for the application is stored (everything that you see in the "Your Applications" section, for example, the verification token) and some basic settings for each command after installation (for example, that the application is installed and who installed it). Any other specific information of the application must be stored by the application in its database.
The Slack application developer must also provide their own website to allow the installation of the Slack application for the team. See this answer for more information on installation and how to obtain an access token for a specific command.
source share