Promptitude connects directly with your AI providers to generate texts based on your prompts.
In this article, you’ll learn how to get the API key for your OpenAI account.
Once you got the API key, you can create an AI Connection within Promptitude and start generating prompts.
1️⃣ Log in to OpenAI
Go to https://platform.openai.com and log in with your email address and password.
Don’t have an OpenAI account yet? Click here to create one - OpenAI will even give you $5 in credits to play around.
Once you’re logged in, you should see the Dashboard:
2️⃣ View your API keys
Click the user menu at the top-right, then choose View API Keys from the dropdown:
Now you’re in the API keys section:
3️⃣ Create your first API key
Don’t worry if you don’t see any API keys - this just means you’ve never created one.
Click the Create new secret key button, and a popup will open:
📌 Important: Do NOT just close the popup!
Click the green Copy button to the right of the API key to copy it to the clipboard:
OpenAI will NEVER show you the API key again, so make sure to save it to your computer.
This is also the API key you need to enter in Promptitude when adding your AI Connection.
Now you can safely close the popup:
Now, OpenAI only shows you a tiny fragment of the original API key, but not
the entire API key - that’s why you’ve saved it on your computer before: 😉
🆘 Help! I can’t find my old API key.
No worries. If you don’t have access to your existing API keys (we mean the entire long API key, not the abbreviated version that OpenAI shows on their page), you can simply create another API key - no strings attached.
Click the Create new secret key
button, and a popup will open with the newly generated API key:
Make sure to click the green Copy button to the right of the API key, then save it to your computer:
Now that you got your brand-new API key, head back to Promptitude’s AI Connections and add OpenAI:
Click the New Connection button at the top right.
Name your AI Connection, for example, “OpenAI”.
Simply paste your API key into the corresponding field.
Now that you’ve added your connection to OpenAI to promptitude, the next step is to add your first prompts and use them via the API.