CommunityHire an ExpertSign Up
AI models and RAGPinecone
AI models and RAG

Pinecone integration

Connect Pinecone to Softr and create indexes, upsert raw text records and search them with natural-language queries from workflows and agents with an API key.

Pinecone is a vector database with integrated embedding. Use Pinecone actions in Softr workflows and agents to create indexes, upsert raw text records, and search with natural-language queries.

Connect Pinecone

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add a Pinecone action.
  3. Open the Pinecone console and copy your API key from Project → API Keys.
  4. In the Account field, connect your Pinecone account and enter Your Pinecone API key, which starts with pcsk_.
  5. Configure the action inputs, such as the index, records or query text.
  6. Save and publish the workflow.

Use cases

Use caseWhat it does
RAG over your knowledge baseUpserts document text into Pinecone, then searches for context to ground an AI assistant’s answers.
Semantic search for help articlesIndexes support content and shows the closest matches when a user submits a support form.
Personalized recommendationsUpserts profile or item text, then searches for the most similar items, products or users.
Duplicate detectionSearches for near-duplicate records before adding a new one to a database.
AI-powered taggingSearches records by similarity to known categories and assigns tags.

Use Pinecone in workflows and agents

Workflows and agents can create and manage Pinecone indexes, upsert text records, and search them with natural-language queries.

Actions

The Pinecone actions in the workflow step picker: Create index, List indexes, Describe index, Delete index, Upsert records, Search records

The Pinecone actions in the step picker of a workflow.
ActionWhat it does
Create indexCreates a serverless index with integrated embedding using a chosen model, cloud (AWS, GCP, or Azure), and region. You can also set deletion protection and tags.
List indexesLists every index in the connected Pinecone project.
Describe indexGets full details for a single index, including its data-plane host, to check readiness or confirm configuration.
Delete indexPermanently deletes a Pinecone index. Pinecone rejects the deletion if deletion protection is enabled.
Upsert recordsInserts or updates up to 96 raw text records per request and embeds them server-side. Each record requires _id and chunk_text, with extra keys stored as metadata.
Search recordsSearches an index with natural-language query text embedded server-side and returns 1 to 10,000 top results (default 10). You can filter by metadata and choose returned fields.

Good to know

  • Supported embedding models for Create index are multilingual-e5-large (dense), llama-text-embed-v2 (dense), and pinecone-sparse-english-v0 (sparse), and the model sets the distance metric automatically.
  • Index names are normalized to lowercase alphanumeric characters and hyphens, up to 45 characters.
  • Upsert records requires a non-blank chunk_text field and a unique string _id for each record.
  • Indexes created in Softr use chunk_text, while indexes created in the Pinecone console or SDK default to text. For those indexes, set the text field of the field map to chunk_text, or upserts fail validation.
  • Pinecone embeds your text records and search queries server-side, so you do not supply vectors.
  • Combine Pinecone with AI actions to build retrieval-augmented generation (RAG) pipelines.
  • Extra keys on a record are stored as metadata. For example, a record can look like this:
JSON
[
  { "_id": "rec1", "chunk_text": "Hello world", "category": "greeting" }
]
  • The filter and fields inputs in Search records apply to extra metadata keys stored beyond _id and chunk_text.

FAQ

Where do I find my Pinecone API key?

Open the Pinecone console and copy the key from Project → API Keys. It starts with pcsk_.

Do I need to create embeddings myself?

No. Pinecone embeds your text records and search queries server-side with the model of your index.

Why does my upsert fail on an index I created in Pinecone?

Indexes created in the Pinecone console or SDK default to a text field. Set the text field of the field map to chunk_text, or create the index with the Create index action.

Why was my index deletion rejected?

Pinecone rejects Delete index when the index has deletion protection on. You set deletion protection when you create the index.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.