How to integrate custom plugins into mattermost?


I am developing a plugin that retrieves and displays data from a vector store via a prompter and I intend to integrate it into Mattermost.
Are there any specifications or requirements for configuring the plugin to be applied in Mattermost?

Or, could you let me notice a list of references to consider for thsi?

Thank you so much

You might try asking at Mattermost