Sign in
document · weaviate.io

Weaviate quickstart guidance (markdown)

Shortest path to a working Weaviate setup: connect to Weaviate Cloud or a local instance, create a collection, insert data, and run a semantic or hybrid query.

What it says

The document its publisher serves

What it declares
title: Weaviate quickstart guidancedescription: The shortest path with Weaviate: connect to Cloud or a local instance, create a collection, insert data, and run a semantic or hybrid query.canonical: https://weaviate.io/quickstart.mdlast-updated: 2026-08-04
the skill Read from the publisher's own address, not re-hosted.
# Quickstart — LLM Guidance

## TL;DR
- Connect to Weaviate Cloud or a local instance
- Create a collection (schema)
- Insert data (objects + vectors)
- Query using semantic or hybrid search
- Use Python or JavaScript clients for most workflows

## When to use
- You want to get started with Weaviate quickly
- You are building a prototype, RAG system, or search feature
- You need a minimal working example (connect → insert → query)
- You want a baseline before adding agents, filtering, or scaling

## When not to use
- You need production architecture guidance (see /deployment.md)
- You are evaluating pricing or cost tradeoffs (see /pricing.md)
- You need advanced query patterns (see /hybrid-search.md or /product/query-agent.md)

## Quickstart (Python)

```python
import os
import weaviate

# Connect to Weaviate Cloud
client = weaviate.connect_to_weaviate_cloud(
    cluster_url=os.environ["WEAVIATE_URL"],
    auth_credentials=os.environ["WEAVIATE_API_KEY"],
)

# Create a collection (if it doesn't exist)
if not client.collections.exists("Docs"):
    client.collections.create(
        name="Docs",
        vector_config=weaviate.classes.config.Configure.Vectors.text2vec_openai()
    )

docs = client.collections.use("Docs")

# Insert data
docs.data.insert({
    "title": "What is hybrid search?",
    "content": "Hybrid search combines keyword and vector search."
})

# Query (semantic / hybrid)
response = docs.query.hybrid(
    query="How does hybrid search work?",
    limit=3
)

for obj in response.objects:
    print(obj.properties)

client.close()
```
What this is

Document

text/markdownlast seen 2026-08-30

These are the publisher's own words, read from what they serve at their own address.

Where it lives

The publisher's own address

https://weaviate.io/quickstart.md

This catalog links to it and never serves a copy, so what you get is whatever weaviate.io is serving now.

In its own words

What its publisher says you would ask it

  • connect to Weaviate and run my first hybrid query
  • how do I get started with Weaviate
Tags

How its publisher filed it

quickstartweaviatedocumentation