Connect your OpenAI account to Memex for AI-powered API access and operations.
What is OpenAI?
OpenAI is the company behind GPT models, DALL-E, and other powerful AI systems. When you connect OpenAI to Memex, you can access OpenAI's APIs to generate text, create images, and leverage AI capabilities directly through natural conversation.
Published apps use your API key
If you publish a Memex app that uses this connector, visitors to your app will make requests using your API key. You will be billed by OpenAI for all usage.
What You'll Need
To connect OpenAI to Memex, you'll need an API key from your OpenAI account:
Credential
Description
Example
OPENAI_API_KEY
Your OpenAI API key for authentication
sk-proj-...
Key Format: OpenAI project keys use the prefix sk-proj-... which is the current default format when creating new keys.
Sign in to your OpenAI account (or create one if you don't have one)
Step 2: Set Up Billing
Before you can use the API, you'll need to set up billing:
Click on Settings in the left sidebar
Select Billing
Click Add payment method and enter your payment details
Add credits to your account (minimum $5)
Billing is Required: OpenAI uses a prepaid billing model. You must add credits to your account before you can use the API. Without billing set up, your API key won't work.
Click the trash icon next to the key you created for Memex
If you suspect your API key has been compromised, delete it immediately in your OpenAI settings and create a new one. Compromised keys can result in unexpected charges.
Troubleshooting
You can ask the Memex agent to help troubleshoot, but here are a few common problems:
"Invalid API key" Error
Verify you copied the entire key without extra spaces
Check that the key hasn't been deleted in your OpenAI settings
Ensure you're using a key with the correct format (sk-proj-...)
Build a customer support chatbot using my OpenAI connection that answers questions about my product. I'll upload a CSV with product info for it to reference.
Create a content generation app using my OpenAI API that takes a topic and generates multiple variations of headlines and social media posts.
Build an image generation gallery app with my OpenAI connection that lets users create DALL-E images from prompts and save them to a collection.