Under VSCode, go to the “Extensions tab” and search for “ChatGPT — Genie AI”. Once we find it, we click on “install”. => You should now see a “ChatGPT — Genie AI” icon on the left-side menu of Visual Studio Code. Before using the extension, you must “Create new secret key” from the OpenAI API key.