To install, open Dbeaver Help Install New Software. Click on the dropdown a there you will find the ChatGPT source. Get it. You will need to setup an API key from OpenAI, which is pretty easy. After that you need to tweak the settings