Step 1: Create a Datastore
A datastore is a collection of documents that your agent can search.
- Go to Datastores in the sidebar
- Click Create Datastore
- Give it a name and description
Step 2: Upload Documents
- Open your datastore
- Drag and drop files (PDF, DOCX, TXT, or Markdown)
- Wait for processing to complete
Orka automatically chunks and indexes your documents for semantic search.
Step 3: Create an Agent
- Go to Agents in the sidebar
- Click Create Agent
- Give it a name and system prompt
- Connect it to your datastore
Step 4: Chat
Open the agent’s chat interface and ask a question about your documents. The agent will search your datastore and respond with sourced answers.
Step 5: Use the API
curl -X POST https://api.orka.sh/v1/chat \
-H "Authorization: Bearer $ORKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "your-agent-id",
"message": "What does the Q4 report say about revenue?"
}'
You’re all set! Explore the Guides to learn more about customizing your agents.