🔑 Step 1: Get your API key
You’ll use a project API key from LambdaDB Cloud starting in Step 3.LambdaDB Cloud is in public preview.
- Create a Cloud account — Open app.lambdadb.ai, sign up if you need an account, and sign in.
- Playground project (default) — New accounts include a Playground project so you can try the product immediately. It is a shared environment: the same project is visible to other users, and data you index there can be read by others. Use it only for feature testing—not for private, sensitive, or production workloads.
- Add a payment method — When you add a payment method, the Playground project is removed from your account and you can create your own projects. Project creation, billing, and the rest of the console capabilities are enabled once a payment method is on file. LambdaDB uses a serverless-native architecture: it is built from serverless components only (for example AWS Lambda and Amazon S3), so there is no monthly minimum fee—you pay for measured usage only. For why we built it this way, see the blog post “Serverless” Database Is Dead — It’s Time to Evolve. For how usage is metered and current rates, see Understanding costs.
- Create a project and save your key — When you create a project, choose an AWS region that fits latency and data-residency needs. After the project is created, your API key is shown only once—copy it immediately and store it somewhere safe (for example a password manager or a local environment variable). Use it with the base URL and project name from the console starting in Step 3.
Regional coverage: LambdaDB Cloud is available in all standard AWS commercial Regions—the same broad regional footprint AWS exposes for most services (30+ Regions in the public preview), rather than a short list that grows over time. Pick any supported Region shown in the console when you create a project.
Keep your API key out of source control and prefer environment variables instead of hardcoding it in scripts.
🚀 Step 2: Install the SDK
The LambdaDB SDK provides convenient access to the LambdaDB APIs.📚 Step 3: Create a collection
A collection is where you’ll store your documents and define how they should be indexed for search. LambdaDB supports 9 different index types: text, keyword, long, double, boolean, object, datetime, dense vector, and sparse vector. Let’s create a collection that combines text search with vector similarity:- Text field: Supports multilingual search with English and Korean analyzers
- Vector field: 10-dimensional vectors using cosine similarity
- Keyword field: Added to support exact match filtering.
📄 Step 4: Add documents
Now let’s add some sample documents. Each document contains text for full-text search, keywords for filtering, and vectors for similarity search:- Upsert behavior: Documents with the same ID will be replaced; new IDs create new documents.
- Auto-generated IDs: If you don’t provide an ID, one will be generated automatically.
- Bulk operations: For large-scale document ingestion (5MB+), use the bulk-upsert functionality.
- Configurable consistency: LambdaDB is eventually consistent by default, so there can be a slight delay before new or changed documents are visible to queries.
If your application requires strong (read-after-write) consistency, set
consistentRead(orconsistent_readin Python) totruewhen you query or fetch data from a collection.
🔍 Step 5: Full-text search
Let’s search for documents that match “I hate managing servers” while filtering for documents tagged exactly with “serverless”. This demonstrates LambdaDB’s powerful query capabilities:🔍 Step 6: Hybrid search
Now let’s combine full-text search with vector similarity for more comprehensive results. This is where LambdaDB really shines:rrf(Reciprocal Rank Fusion): Great for combining rankings from different search methodsl2(L2 Normalization): Normalizes scores using L2 normmm(Min-Max Normalization): Simple linear scaling to 0-1 range
🧹 Step 7: Clean up
When you’re finished experimenting, clean up your resources:🚀 Next steps
- Advanced Queries: Explore complex patterns in our Query Guide
- Bulk Operations: Learn about large-scale data ingestion in our Bulk Operations Guide
- API Reference: Comprehensive documentation at our API Reference