From the Sandbox to Your Own Account: Create an Index, Ingest, Search and Add a Chat Bot

AI API: Vectors, Images & LLM

The RAG in 60 seconds sandbox builds a temporary index that deletes itself after 3 days. This page shows how to do the exact same thing, and much more, in your own account, where the index is permanent and private.

You can do every step two ways: by clicking in your index panel (no code), or by calling the API from your app or script. Both are shown below.

The journey, in four steps

1
Create your index
2
Add your data
3
Open your search page
4
Turn on the chat bot

Everything after step 1 happens in one place. Open your index from My Indexes and you land in its panel, with the menu on the left:

Switch Index… ▾
Info
Tools
Solr Admin
Backup
Security
Configuration
Server Monitor
Query Analytics
Live Query Stream
Bandwidth Usage
WebCrawler
Chat Bot
Error Log
Delete Index
Open an index from My Indexes and this is its panel. The left menu is where you work: WebCrawler pulls in a site, Solr Admin adds or inspects documents, Chat Bot turns on the assistant, Backup and Security do the rest.
Before you start (API only): every API call needs your account email and your API key. Sign in, open My Account, copy the key. In the panel you are already signed in, so no key is needed there.

1Create your index

One index holds your documents and makes them searchable by keyword and by meaning (vectors). Create it once.

In your account (no code)

Open My Indexes and click:

Create New Index

Name it (for example my_research), pick the region closest to you, confirm. Live in seconds, with vector search already on.

With the API
POST https://opensolr.com/solr_manager/api/create_index
email=YOUR_EMAIL & api_key=YOUR_API_KEY & solr_index_name=my_research
All create_index options →

2Add your data

Three ways to fill your index. Pick the one that matches what you have.

You haveUseWhere
A websiteWebCrawler (no code)Left menu › WebCrawler
PDFs, DOCX, document URLsData Ingestion (auto text + vectors)API, watched on your Data Ingestion page
A few JSON recordsSolr Admin (paste by hand)Left menu › Solr Admin
A) Crawl a website — no code

Open your index, click WebCrawler in the left menu, paste the site address and start it. Opensolr fetches the pages, extracts the text and builds the vectors for you.

Switch Index… ▾
Info
Tools
Solr Admin
Backup
Security
Configuration
Server Monitor
Query Analytics
Live Query Stream
Bandwidth Usage
WebCrawler
Chat Bot
Error Log
Delete Index
Add a URL to crawl
https://example.comAdd URL
The crawl runs in the background and fills the index.
B) Push documents — the Data Ingestion API (this is what the sandbox does)

Send a document URL (PDF, DOCX, web page) or inline JSON. Opensolr downloads it, pulls the text, even runs OCR on scans, and embeds every document automatically.

POST https://api.opensolr.com/solr_manager/api/ingest
{"email":"YOUR_EMAIL","api_key":"YOUR_API_KEY","core_name":"my_research",
 "documents":[{"uri":"https://example.com/report.pdf","title":"Report","rtf":true}]}

Set rtf:true to extract the file text. Watch progress on your Data Ingestion page, or by API:

GET https://api.opensolr.com/solr_manager/api/ingest_status?email=YOUR_EMAIL&api_key=YOUR_API_KEY&job_id=JOB_ID
Full ingestion guide, files and limits →
C) Add a few by hand

For a handful of records, open Solr Admin in the left menu and paste JSON documents directly. Good for testing, not for bulk.

Difference: WebCrawler is for live websites and runs itself. Data Ingestion is for files you send and matches the sandbox: automatic text extraction and vectors. Solr Admin is manual, for small tests.

3Open your search page

Every index has a ready hosted search page. Two ways: open the page, or call the search API from your app.

Your hosted search page (no code)

Your index gets its own page at the address below. Open it and type a question in any language, for hybrid results (keywords plus meaning).

https://search.opensolr.com/my_research

You can password‑protect the page from the panel, and drop it on your own website with the one‑line embed.js widget.

With the API — search, or full RAG answers

One call for hybrid search:

POST https://api.opensolr.com/solr_manager/api/embed_and_search

Two calls for a full RAG answer with citations, exactly like the sandbox: embed_and_search finds the passages, then ai_summary writes the answer.

RAG in two calls →

4Turn on the chat bot

Give your index a chat assistant that answers from your documents, with citations. It lives on your site as a small widget.

In your account (no code)

Open your index and click Chat Bot in the left menu:

Switch Index… ▾
Info
Tools
Solr Admin
Backup
Security
Configuration
Server Monitor
Query Analytics
Live Query Stream
Bandwidth Usage
WebCrawler
Chat Bot
Error Log
Delete Index
Embed Code
<script src="https://search.opensolr.com/embed.js" async></script>
Paste it on your site, add your domain under Allowed domains.
With the API
POST https://api.opensolr.com/solr_manager/api/assistant_chat
Chat bot in one call →

Your account or the API: which one?

 Your accountAPI
Best forDoing it by hand, onceYour app, script or site, automated
Create indexCreate New Index buttoncreate_index
Add dataWebCrawler, or Solr Adminingest
SearchHosted search pageembed_and_search + ai_summary
Chat botChat Bot menu, Enableassistant_chat

The result is the same index either way. Click through it first to understand it, then switch to the API inside your own app.

More detail: testing your AI search · vector embeddings · crawler API · crawler vs ingestion