https://discord.gg/botpress logo
#👀feature-requests
Add knowledge base that requires authentication
# 👀feature-requests
s

strong-bird-95797

10/08/2023, 5:26 PM
It would be great if we could add knowledge base that requires authentication to access. For example if knowledge base is on Atlassian Confluence and you need an authentication method to access documents. Thank you
n

narrow-agent-91470

10/08/2023, 7:52 PM
I think that could be done by creating a workflow for that specific KB and store in a folder, then create a Login for Access and well-done.
s

strong-bird-95797

10/09/2023, 9:02 AM
Would you mind elaborating on the workflow a bit? How would that work?
n

narrow-agent-91470

10/09/2023, 1:12 PM
How can I be of help?
n

nice-salesclerk-98217

10/09/2023, 8:23 PM
That’s interesting indeed. It would add a layer of safety to clients knowing their data is under a pw

https://youtu.be/Gc8NDnoxrwY?si=0mAHdeAPQRnE6fEb

Here the two steps needed to accomplish the idea.
First the KB and Workflow into a folder then set up the Login that leads to the KB if access granted.
s

strong-bird-95797

10/10/2023, 4:21 AM
I still do not understand. KB itself requires user/password to access it. How can you even start to add the knowledge base?
n

narrow-agent-91470

10/10/2023, 11:26 AM
Set up a folder, where you store the KB's inside you want to have protected access to. Put a workflow to this folder that answers and reads from this KB only and store into the Folder too. In your main Workflow, set up the Login for the desired folder. So once the person login then send to the Folder workflow.
s

strong-bird-95797

10/10/2023, 12:57 PM
Iaml i am not trying to protect the knowledge base. I am trying to access this knowledge base that is protected.
n

narrow-agent-91470

10/10/2023, 8:17 PM
Do you have access to this knowledge base?
Or is it that you want to hack that?
🙄
I don't really understand what is the sense of having access true out the bot to a protected knowledge. Because then all protection will be gone this way and the information will be to easy to access by anyone who has access to the Bot.
Sorry I thought you wanted to protect access to some KB for only special users or clients.
b

boundless-translator-69902

04/12/2024, 9:30 PM
No we just want to add knowledge from a secured existing space like confluence, sharepoint online and so on
c

cold-jewelry-54343

04/13/2024, 9:53 AM
Hi there, there are several ways to introduce a password system, the simplest would be to check if a password is correct and flow accordingely to a specific node/workflow. In the image I am pretending that there 2 clients with 2 passwords: if they match they will flow to their respective workflow. You can limit the access to KB's inside capture cards/Query Knowledge Base card (or in code). If you have allot of clients you can store their data in a Table and check if there is a match within that table and flow accordingely if there is a match. Hope that helps ⚡ 🚀 https://cdn.discordapp.com/attachments/1160629279915262002/1228644312762552340/brave_4atlyYMPVS.png?ex=662ccb2f&is=661a562f&hm=b457017abf592ffa225a6a4a8c4ef3af4038693fe0573e1e895d870c6e30d5b9& https://cdn.discordapp.com/attachments/1160629279915262002/1228644313068470332/brave_epjlTemCZe.png?ex=662ccb2f&is=661a562f&hm=1919d19c295ae897d8b1b2d5d389e42ad4f1063d0e8643f3e2992def846e7410&