...
Ensure that your knowledge base is hosted elsewhere and is accessible by the bot. You can configure the knowledge-base integrations to achieve this.
Invite the bot to the relevant channel where your users will interact with it.
When a user sends a message to the channel, the bot will respond responds with a welcome message with and a search button.
Clicking on the search button will allow users to search for documented answers related to their query.
...