BYOK self hosted setup

Hi,

How can I setup the self hosted community edition to use my LLM provider with OpenAI compatible API. So I would like to BYOK.

Thanks!