Prerequisites
You’ll need an Orchata account. Sign up at app.orchata.ai if you haven’t already.
New accounts start on the Sandbox tier, which includes 1 space, 50 documents per space, 100 daily API calls, and 7-day data retention. This is perfect for testing and evaluation. View all plans to see tier limits and upgrade options.
Step 1: Get Your API Key
1
Navigate to API Keys
Go to API Keys in the Orchata dashboard.
2
Create a New Key
Click Create API Key, give it a name, and copy the key.
Step 2: Create a Space
Spaces are containers for related documents. Let’s create one for product documentation.- cURL
- Dashboard
id value - you’ll need it for the next steps.
Step 3: Upload a Document
Add your first document to the space. Orchata automatically handles chunking and embedding.- cURL
- Dashboard
Documents start with
status: "processing". Wait a few seconds for embedding to complete before querying.Step 4: Query Your Knowledge
Now search your knowledge base using natural language.- cURL
- Dashboard
Next Steps
Core Concepts
Deep dive into Spaces, Documents, and Queries.
Authentication
Learn about API keys and permissions.
MCP Setup
Connect AI assistants to your knowledge base.
API Reference
Explore all available endpoints.