Using Openai.api for ChatGPT API Course

I am on collaboratory; how do I initialize my notebook an obtain a key?

At the end of the 2nd lesson on the class’ Google Colab there are a list of instructions about getting an API key. Just FYI, you may need to pay to use the API even after you are issued a key.