Skip to main content
All CollectionsAI Data Hubs
How to Set Up API Keys for AI Data Hub Features (Old users)
How to Set Up API Keys for AI Data Hub Features (Old users)
M
Written by Muhammad Jawad
Updated over a week ago

TeamAI's Data Hubs feature allows users to create embeddings of documents, webpages, and websites, enabling powerful search and chat capabilities. This article is specifically tailored for our legacy Pro and Sumo users who need to use their own resources to set up and utilize Data Hubs.

Prerequisites

To use Data Hubs, you'll need:

  1. An OpenAI API key with access to the embedding model

  2. A Qdrant vector database cluster (hosted on Qdrant or self-hosted)

Step 1: Obtain Your OpenAI API Key

  1. Choose the "API" option from the main menu

  2. Navigate to "API Keys" in the sidebar

  3. Copy your OpenAI API key

  4. Add the API key to the advanced settings of your TeamAI workspace

Step 2: Set Up Your Qdrant Vector Database Cluster

  1. Sign up at https://cloud.qdrant.io/ if you haven't already

  2. After logging in, select an existing Qdrant cluster or create a new one from the right sidebar

  3. Fill in the required details for your new cluster

  4. You'll be redirected to the list of your clusters, where you'll see your new cluster in the "Creating" state

  5. Once the cluster is ready and in a "Healthy" state, click on "API Key" under the cluster name

  6. Create a new API key and link it to your new cluster

  7. Copy the API key (note that it's only copyable at the time of creation)

  8. Return to your cluster and copy the endpoint URL from the "Endpoint" box

  9. Paste both the API key and endpoint URL into the advanced settings of your TeamAI workspace

With your OpenAI API key and Qdrant vector database cluster set up, you're now ready to use Data Hubs. Start uploading files, webpages, and websites, and enjoy the powerful search and chat capabilities provided by TeamAI.

Troubleshooting Tips

  • Ensure your OpenAI API key has access to the embedding model

  • Double-check that you've correctly copied and pasted the API keys and endpoint URL

  • If you encounter issues with your Qdrant cluster, reach out to Qdrant support for assistance

FAQs

Q: Can I use other vector databases besides Qdrant?

A: Currently, TeamAI only supports Qdrant for storing embeddings. However, we're always exploring integrations with other vector databases to provide more options for our users.

Q: What if I don't have an OpenAI API key?

A: To use Data Hubs, you'll need an OpenAI API key with access to the embedding model. If you don't have one, sign up for an OpenAI account and create a new API key with the necessary permissions.

Did this answer your question?