OpenAI Integration Overview

What is Flowrabbit's OpenAI Integration?

Flowrabbit offers fully integrated ways for you to use OpenAI's services, making it easy to access the power of GPT and OpenAI's GPT Assistants. Both of these services are pre-integrated and accessible via Widgets in Flowrabbit.

What are OpenAI Assistants? 

OpenAI Assistants are AI entities that can respond to user queries and perform tasks based on predefined instructions. You can create custom assistants tailored to specific needs, such as personal math tutors or advisors, and integrate them into applications (like your Flowrabbit Apps!) to streamline interactions and provide specialized assistance. With OpenAI Assistants, you can leverage various tools that are more powerful than the chat interface you might know from simply using GPT, like code interpretation, file search, and function calling.
Learn more about OpenAI Assitants by browsing OpenAI's Docs here and the OpenAI Help Center here

How do I use the OpenAI Integration?

To use Flowrabbit's OpenAI Integration, you need to add an OpenAI API Key to your Flowrabbit project.

How do I add an OpenAI Key to my Flowrabbit Project? 

Hint: In the video, and likely in many projects, the next step is to create an OpenAI Assistant and add it to the Flowrabbit app. Learn how to do that here. This video is an excerpt from our full app-building tutorial. Watch it here.

Detailed Instructions: 

First, Create the Key: 

  1. Go to platform.openai.com/api-keys
  2. Click "Create new secret key".
  3. Give your new Key a name.
  4. Click "Create secret key".
  5. Click "Copy".

Your secret Key is now stored on your clipboard! 

Then, add the Key to your Project: 

  1. Open the App Dashboard.
    1. When In the Editor: click to expand the menu next to the name of your project (the three horizontal bars), click "Back to App Dashboard"
    2. When in the "My Apps" Overview: Click on the App to which you want to add your OpenAI API Key. You need to add a separate key to every project for which you want to use OpenAIs servies.
  2. Click on "Settings".
  3. In the "Secrets" Section, enter a name for the key; you can use any name. We suggest using a name that corresponds with the name you have given the Key in your OpenAI Profile.
  4. Paste your key into the input field "password or token". This is the only input field you should use to enter your key; it will be concealed and secure once you've entered it.
  5. Click "Save"

Your key has been added to your project!

Are OpenAIs services free to use?  

By adding your OpenAI Key to a Flowrabbit project, you are connecting your OpenAI Account to your Flowrabbit Project. This means that you can access any Assistants you create on OpenAI's Website from within your Flowrabbit Project. Note that this also means that you are accessing and using your paid-for tokens from your Flowrabbit Project, which means that you need to provide a payment method (credit card) and purchase tokens. Learn more about setting up billing and payment for OpenAI's services here.  
tldr: You need to set up billing in order to use OpenAI's API services in Flowrabbit.  

Is it expensive? 

After creating an OpenAI API account, you need to buy credits to start using the API. If you are just starting out with Flowrabbit and/or are looking to build smaller-scale applications that won't be used by a large/growing audience, it is absolutely fine to start out by simply buying a few dollars worth of tokens. You don't need to spend any more to start building powerful apps that leverage OpenAI's power in Flowrabbit. If the point comes where you want to release your Flowrabbit Application for usage by your team or a bigger audience, this is when you should start looking at the model you are using, the cost per token, and your account balance. Please don't forget that your access to OpenAI's API features will be deactivated if you don't have a sufficient account balance.

What do I do now? 

Now, there are two ways to use OpenAI's services in Flowrabbit: GPT or Assistants. Learn how to use them in these chapters: GPT Integration and Assistant Integration.

Was this article helpful?

REST API Integration
OpenAI Assistants Integration