Authentication error and get completion funcion in jupyter notebook while executing code

187 “No API key provided. You can set your API key in code using ‘openai.api_key = ’, or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with ‘openai.api_key_path = ’. You can generate API keys in the OpenAI web interface. See for details, or email if you have any questions.”

after putting my key i am getting error,anyone please make a video from scratch