In your web browser, visit https://platform.openai.com/
Click the "sign up" link. Then, you can use your e-mail to sign up, or an existing Google or Microsoft account.
OpenAI may require additional steps such as e-mail or phone verification before you can log in to your account.
Once you have completed the verification process and logged in, you will next create an API key. Use the menu in the far upper right corner (probably labeled "Personal") and then select "View API Keys".
Save this secret key in the file settings.toml on the CIRCUITPY drive in a line that looks like
This file also requires your WiFI credentials, see the next page of the guide for the details.
At the time of writing, OpenAI provides a free credit with new accounts. After the free credit is used or expires, you'll need to enter a credit card in your billing information to keep using the service.
Playing the Infinite Text Adventure for an hour tends to cost a few cents at most, and it's easy to limit your monthly bill to a pre-set amount such as $5.00.
To set a hard usage limit per month, visit the "Usage Limits" section of the OpenAI website.