Your API key stays safe with Rocket.
It is encrypted at rest and never exposed, so you can connect with confidence.
It is encrypted at rest and never exposed, so you can connect with confidence.
Before you begin
You’ll need:
- A Rocket account - rocket.new.
- An OpenAI account.
Connect OpenAI to Rocket
1
Get your OpenAI API key
Visit the OpenAI dashboard to create or copy your API key.
You will find it under Account → API Keys.
You will find it under Account → API Keys.
API keys control access to OpenAI’s GPT models.
- Always use your own key from the OpenAI dashboard.
- Keep it secret — never share it or commit it to code.
- If you believe your key has been exposed, revoke it immediately and generate a new one.
2
Add your OpenAI API key in Rocket
There are two ways to connect OpenAI to your Rocket project:Method 1: Use Rocket Chat (fastest)Method 2: From a Rocket project
-
In any project, open the chat panel and type:
Connect OpenAI to:Add a GPT-powered chat assistant to my app.Generate summaries of user-uploaded documents.Rewrite user input with tone and clarity options.
-
A popup will appear where you can paste and save your OpenAI API key instantly.


OpenAI integration popup in chat
This is ideal if you are already chatting with Rocket while building. No clicks, just action.
- Open any project.
-
Go to Integrations.


Integrations tab
-
Scroll to OpenAI and click it.


OpenAI integration card in Rocket
When you connect OpenAI from Project Settings, Rocket will not automatically create AI flows.After saving your key, you must describe the GPT-powered tasks you want in chat for Rocket to implement them.
3
Save your OpenAI API key in Rocket
- In Rocket’s OpenAI integration screen, paste your API key into the input field.
- Click Save to complete setup.
Success check: You will see a green dot next to OpenAI in your integrations list.
4
Update or remove your OpenAI API key
- Return to the OpenAI integration in Project Settings.
-
You can update your API key or click Remove to disconnect.


Remove OpenAI integration
You did it!
OpenAI is now connected to your Rocket project. You can now generate content, assist users, and build conversational flows with GPT.

