Skip to main content
Get started with CyborgDB in minutes.
1

Install CyborgDB

Install CyborgDB on your machine:
Python
2

Create a Client

Create a CyborgDB client:
Python
Without an API key the client runs in free-tier mode, capped at 1,000,000 items per index. Pass a key from the CyborgDB Admin Dashboard as the first argument (cyborgdb.Client(api_key, storage_config=...)) for unlimited usage. See Get an API Key.
For more info, refer to Create a Client.
3

Create an Encrypted Index

Create an encrypted index with CyborgDB:
Python
Store index_key before you upsert any data. CyborgDB has no key-recovery path — data encrypted with a lost key is unrecoverable. For anything past evaluation, keep the key in AWS Secrets Manager, Vault, or your KMS. See Managing Keys.
For more info, refer to Create an Encrypted Index.
4

Add Items to Encrypted Index

Add data to the encrypted index via Upsert:
Python
For more info, refer to Add Items.
5

Query Encrypted Index

Query the encrypted index for similar vectors and chain get() for contents. CyborgDB’s encrypted search index stores only embeddings — contents live in separately encrypted item records retrieved via get(), so a real result reads with a two-step pattern:
Python
include=["contents"] is not a valid query option — contents are only retrievable via get(). See Query an Encrypted Index and Get Items for the full API.
6

Next Steps

Learn more about CyborgDB:

Python API Reference

Explore the Python API reference to learn how to use CyborgDB in your applications.