In this guide, you’ll learn how to:

  • Connect your OpenAI account to Rocket.
  • Add your API key securely.
  • Start using GPT models in your app.

Your API key stays safe with Rocket.
It’s encrypted at rest and never exposed - so you can connect with confidence.

Before you begin

You’ll need:

Connect OpenAI to Rocket

Use GPT to generate text, assist users, summarize content, or power dynamic in-app experiences.

1

Start integration from chat or project settings

You can connect OpenAI in two ways:

Method 1: Use Rocket Chat (fastest)

  • Open the chat panel and type:
    Connect my OpenAI API
  • A prompt will appear asking for your API key.

You’ll see a confirmation in chat once your key is saved successfully.

Method 2: Use the Project Settings panel.

  • Go to My Projects and open your project.

  • Click the Project Settings on the top navbar.

  • Navigate to the Integrations tab.

    Access Integrations tab from project settings

  • Scroll to OpenAI and click it.

    OpenAI integration card in Rocket

3

Paste and save your API key in Rocket

  • Paste your OpenAI API key into the integration input field.
  • Click Save to complete setup.

Success check: You’ll see a green dot next to OpenAI in your integrations list.

Important Security Notice:
Never paste your API key directly into Rocket chat.
Use the secure integration screen to connect your account safely.

4

Update or remove your 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're all set!

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

Once connected, you can ask Rocket to help you:

  • Add a GPT-powered chat assistant to your app.
  • Generate summaries of user-uploaded documents.
  • Rewrite user input with tone and clarity options.

Rocket will handle the backend calls and UI scaffolding for you.

Need help? Reach out at support@rocket.new.