What is the qdrant API key for the qdrant database that is installed with the self-hosted-ai-starter-kit package? I would like to access the data via the qdrant interface and create new collections. This does not seem possible without entering the API key.
Hi @grelli, Are you not able to access http://localhost:6333/dashboard without the API key? This should allow you to see your collections. Qdrant is accessible from within your containers using the qdrant
hostname, instead of localhost
, but you should be able to access it from your local browser too.
But also, please check whether it’s running properly with docker compose ps
, if it says that the qdrant container has exited, it is not running properly.
To access the credentials in a docker container, you can run the following commands (assuming the docker containers are running):
docker compose exec n8n /bin/sh
n8n export:credentials --decrypted --backup -o /tmp/credentials-backup
cat /tmp/credentials-backup/[credential-that-you-want].json
Please remember that this might show other credentials that you created in n8n in plain-text (but only in the container, this would not be exposed to outside the container). If you are worried about that, you can issue rm -rf /tmp/credentials-backup
within that container to remove the files again.
I am currently also facing this problem.
With the binary build of qdrant I do not have access to localhost:6333/dashboard (I presume the dashboard is not included by default when you build the binary).
I do have access to localhost:6333 which confirms that qdrant is running:
{
"title": "qdrant - vector search engine",
"version": "1.11.5",
"commit": "dee106d74625e891256ebe06c2c2e0515650e67e"
}
And I have successfully installed a third party tool called qdrant-dashboard which allows me to access and create collections but there is nothing there about API keys.
As such when I try to use qdrant integration in n8n I am getting an issue setting up the credentials.
Hi grelli,
if you want to access the qdrant vector store from n8n, you need a URL and an API key. If you install qdrant locally on your computer or on a VM via docker compose, for example, no API key is installed by default, the database is unsecured by default. Tools like langflow oder flowise can connect without API key, but unfortunatelly n8n doesn’t. So you have to install qdrant with API key, otherwise you connect through the URL but you don’t have access to your collections. And that has nothing to do with your dashboard. Please check here:
So, use the installation method described here with API key functinality
got you, This makes sense now
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.