Pinecone is a vector database that powers AI applications with intelligent data processing and search capabilities. With the Pinecone integration, you can create custom AI assistants, manage document databases, and build applications with features like personalized Q&A and smart document search.
Don't see the Pinecone Integration?
You may need to upgrade your plan. Browse Glide's plans and find the right fit for you.
What is a Vector Database? A vector database is a specialized database designed to store, index, and search data stored as mathematical vectors. It is primarily used in AI and machine learning applications.
Adding the Integration
To start using the Pinecone integration, you first need to add it to your project. You will also need an existing Pinecone account.
In Glide, click the Settings icon at the top right.
Navigate to the Integrations tab and select Pinecone.
Click the Add button.
Copy your Pinecone API key from your Pinecone API keys dashboard.
Copy the host URL from the Assistant settings in Pinecone, on the top right.
Click away to exit the configuration.
Features
The Pinecone integration has features that allow you to create and manage AI assistants in your Glide apps. These assistants can be customized with specific information relevant to your users. You can then allow users to message the assistant to ask questions about the information you've given to the assistant.
All Pinecone features can be used as actions in the Layout or Workflow Editors.
Create Assistant
The Create Assistant action creates a new assistant in Pinecone that can process information and respond to queries.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Create Assistant action or navigate to Integrations -> Pinecone -> Create Assistant.
Choose an Assistant Name. This name should not include spaces or special characters.
The Description field is for providing further instructions to the assistant. These instructions, like a prompt, will be applied to all responses.
Optionally, add additional data for the assistant to consider.
Choose the Region where the indexed cloud data will be stored. You can read more about Pinecone's region options here.
Click away to exit the configuration.
Delete Assistant
The Delete Assistant action deletes an existing assistant from your Pinecone account.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Delete Assistant action or navigate to Integrations -> Pinecone -> Delete Assistant.
Select the Assistant Name you want to delete. This name should match exactly how it appears in Pinecone.
Click away to exit the configuration.
Upload File
The Upload File action adds files that can be referenced when generating responses. You can read more about which file types are supported here.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Name the action.
Choose an icon.
Search for the Upload File action or navigate to Integrations -> Pinecone -> Upload File.
Select the Assistant Name you want to upload the file into. This name should be exactly as it appears in Pinecone.
Provide a File URL or select the column where you have the files saved.
Optionally, add Metadata in JSON format.
Select the column where you want to save the Field ID result.
Click away to exit the configuration
Delete File
Delete File action can delete specific files from your assistant's knowledge base.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Delete File action or navigate to Integrations -> Pinecone -> Delete File.
Input the Assistant Name where the file you want to delete exists. This name should be exactly as it appears in Pinecone.
Select columns with the File ID or enter a custom value.
Click away to exit the configuration.
Get File Info
Get File Info retrievs details about uploaded files, including status and metadata.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Get File Info action or navigate to Integrations -> Pinecone -> Get File Info.
Select the Assistant Name you want to receive the file information from. This name should be exactly as it appears in Pinecone.
Select or enter the File ID.
Configure the columns where you want to save the results.
Click away to exit the configuration.
Send Message
The Send Message action communicates with an assistant to get AI-generated responses based on an input.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Send Message or navigate to Integrations -> Pinecone -> Send Message.
Select the Assistant Name you want to send the message to. This name should be exactly as it appears in Pinecone.
Select the column with the messages or enter a custom message.
Configure the columns where you want to save the results.
Click away to exit the configuration.
Index Data
The Index Data action adds text data to your Pinecone database.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Index Data action or navigate to Integrations -> Pinecone -> Index Data.
Enter an ID for your data. You can leave this blank for a randomly generated ID, or use a dynamic ID from your data.
Add the Text you want to index.
Enter the Host of your Pinecone index.
Enter the Name of your index. This name should be exactly as it appears in Pinecone.
Select a column where you want to save the return ID.
Click away to exit the configuration.
Query Data
The Query Data action searches your Pinecone index for content similar to your query text.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Choose an icon.
Search for the Query Data action or navigate to Integrations -> Pinecone -> Query Data.
Enter the Text to query from your index.
Set the Number of Results you want to retrieve.
Enter the Host of your Pinecone index. This must match Pinecone exactly.
Enter the Name of the index you want to query data from. This name should be exactly as it appears in Pinecone.
Configure where to save the results.
Click away to exit the configuration.
Delete Data
The Delete Data action deletes an entire existing record in Pinecone, not just text within that record.
Select the component you'd like to add the action to. Remember, this must be a component that supports actions.
Open the action configuration menu.
Name the action.
Add an icon.
Search for the Delete Data action or navigate to Integrations -> Pinecone -> Delete Data.
Enter the Text that matches the text you used when adding the data.
Enter an ID for your data. This must match the existing record ID in Pinecone.
Enter the Host of your Pinecone index.
Enter the Name of your index.
Click away to exit the configuration.
To learn more generally about Integrations in Glide, including how they affect your app’s usage, check out our Introduction to Integrations.