OpenAI#

  1. Account Access - If youโ€™re new to OpenAI, sign up here. - Otherwise, just log in at OpenAI API.

  2. Get Your API Key

    1. Click on your account name (top right). Choose โ€œView API keysโ€.

    ../../_images/openai-api-1.png
    1. Click to make a new API key.

    ../../_images/openai-api-2.png
    1. Copy the shown API key.

    ../../_images/openai-api-3.png
    1. Return to your .streamlit/secrets.toml file. Paste the API key:

    openai_api_key = "YourKeyHere"