First you install the plugin following Install plugins on a self-hosted site with GitHub - discourse/discourse-ai
Then you configure an OpenAI LLM as Configure API Keys for OpenAI
First you install the plugin following Install plugins on a self-hosted site with GitHub - discourse/discourse-ai
Then you configure an OpenAI LLM as Configure API Keys for OpenAI