如何开始使用Qdrant云服务
您可以按照以下三个步骤在Qdrant Cloud上尝试向量搜索。以下是说明,但视频更快:
设置一个Qdrant云集群
- Register for a 云账户 with your email, Google or Github credentials.
- Go to Overview and follow the onboarding instructions under Create First Cluster.

- When you create it, you will receive an API key. You will need to copy and paste it soon.
- Your new cluster will be created under Clusters. Give it a few moments to provision.
访问集群仪表板
- Go to your Clusters. Under Actions, open the Dashboard.
- Paste your new API key here. You can revoke and create new API keys in Access Management.
- The key will grant you access to your Qdrant instance. Now you can see the cluster Dashboard.

通过SDK进行认证
现在您已经有了集群和密钥,您可以使用我们的官方SDK从您的应用程序中访问Qdrant Cloud。
curl \
-X GET https://xyz-example.eu-central.aws.cloud.qdrant.io:6333 \
--header 'api-key: <your-api-key>'
# Alternatively, you can use the `Authorization` header with the `Bearer` prefix
curl \
-X GET https://xyz-example.eu-central.aws.cloud.qdrant.io:6333 \
--header 'Authorization: Bearer <your-api-key>'
from qdrant_client import QdrantClient
qdrant_client = QdrantClient(
host="xyz-example.eu-central.aws.cloud.qdrant.io",
api_key="<your-api-key>",
)
import { QdrantClient } from "@qdrant/js-client-rest";
const client = new QdrantClient({
host: "xyz-example.eu-central.aws.cloud.qdrant.io",
apiKey: "<your-api-key>",
});
use qdrant_client::Qdrant;
let client = Qdrant::from_url("https://xyz-example.eu-central.aws.cloud.qdrant.io:6334")
.api_key("<your-api-key>")
.build()?;
import io.qdrant.client.QdrantClient;
import io.qdrant.client.QdrantGrpcClient;
QdrantClient client =
new QdrantClient(
QdrantGrpcClient.newBuilder(
"xyz-example.eu-central.aws.cloud.qdrant.io",
6334,
true)
.withApiKey("<your-api-key>")
.build());
using Qdrant.Client;
var client = new QdrantClient(
host: "xyz-example.eu-central.aws.cloud.qdrant.io",
https: true,
apiKey: "<your-api-key>"
);
import "github.com/qdrant/go-client/qdrant"
client, err := qdrant.NewClient(&qdrant.Config{
Host: "xyz-example.eu-central.aws.cloud.qdrant.io",
Port: 6334,
APIKey: "<your-api-key>",
UseTLS: true,
})
尝试教程沙盒
- Open the interactive Tutorial. Here, you can test basic Qdrant API requests.
- Using the Quickstart instructions, create a collection, add vectors and run a search.
- The output on the right will show you some basic semantic search results.

这就是向量搜索!
您可以留在沙盒中,继续尝试我们不同的API调用。当准备好时,使用控制台和我们的完整REST API来尝试其他操作。
接下来是什么?
现在你已经启动并运行了一个Qdrant Cloud集群,你应该使用Qdrant客户端测试远程访问。
有关Qdrant Cloud的更多信息,请查看我们的专用文档。
