Create your codegpt credentials.
Register first with openai to get your api keys
Code GPT on VS
Install Code GPT
Register
After registration, email approval is needed.
Go to API section
Go to https://beta.openai.com/account/api-keys
Generate the API Key and store is safely.