Connecting to Weaviate on Layerbase Cloud

Weaviate provides vector search, object storage, GraphQL, and REST APIs over a managed HTTPS endpoint.

Best for: Semantic search, RAG data stores, recommendation systems, and vector-backed object search.

1

Open your database in the dashboard

Go to /cloud, click the database you just created, and the connection panel shows the host, port, username, password, and a ready-to-paste connection string for the engine.

Send the generated API key using the auth mechanism your Weaviate client expects.

2

TLS is required, on by default

Use the https:// endpoint from Quick Connect.

Weaviate HTTP, REST, and GraphQL APIs over HTTPS

3

Use any standard client

Weaviate works with the normal client family for that engine. Start with the dashboard snippet, then move the same URL and credentials into your app environment.

If your client has separate direct, pooled, TLS, or HTTP options, prefer the exact variant shown in Quick Connect.

bashWeaviate
curl -H "Authorization: Bearer YOUR_TOKEN" "https://your-host.cloud.layerbase.dev/v1/meta"

Weaviate notes

  • Weaviate v4 SDKs (Node, Python) default to gRPC, which is not exposed on Layerbase Cloud. Use the REST/GraphQL endpoints shown above directly, or configure the v3 SDK for HTTP-only.
  • Store API keys in server-side environment variables.