After having a private knowledge base for a while, you may want to make part of that knowledge base public.
This is a good problem: you're seeing uses for the knowledge base beyond what you originally thought.
If you're in this position, here are the steps we suggest to convert your existing totally-private knowledge base to a mixed public knowledge base.
Identify your current login option(s)
Before you begin, make sure you know all the ways your readers are logging in to your knowledge base, as it impacts the next steps.
There are a few options, and some of these you can use in combination:
- KnowledgeOwl reader accounts (KO readers)
To check if you're using KO readers:- Select your profile name in the upper right, then select Readers.
- In the dropdown at the top of the page, select Non-SSO Readers.
- If you have more than a couple test accounts listed here, your knowledge base is using KO Readers.
- Refer to KO Readers below for detailed instructions.
- SAML Single Sign-On (SAML SSO)
To check if you're using SAML SSO:- Go to Settings > SSO.
- Is the Enable SAML SSO box checked? If so, your knowledge base is using SAML SSO.
- Refer to SAML SSO or Remote Auth below for detailed instructions.
- Salesforce Single Sign-On (Salesforce SSO)
To check if you're using Salesforce SSO:- Go to Settings > SSO and open the Salesforce SSO tab.
- Is the Enable Salesforce SSO box checked? If so, your knowledge base is using Salesforce SSO.
Unsupported
Salesforce SSO can't be used in a mixed public/private knowledge base setup. You'll need to create a second knowledge base for your public content, either with standalone or synced content.
- Remote authentication (remote auth)
To check if you're using remote auth:- Go to Settings > SSO and open the Remote Auth tab.
- Are the Remote Login URL and Remote Logout URL populated? If so, you might be using Remote Auth. You can fully confirm this a few ways:
- Go to Settings > Security. If Default Access is set to Remote Authentication, you're definitely using remote auth.
- In Settings > Security, if the Default Login page is set to Remote Auth Login URL, you're most likely using remote auth.
- Check with whomever set up your knowledge base originally to see if they set up a remote auth script.
- Refer to SAML SSO or Remote Auth below for detailed instructions.
KO Readers
Follow these steps if your knowledge base is using KnowledgeOwl readers alone or in combination with other auth types:
- Create a new reader group for your KO readers.
- Use Edit readers in bulk to assign all your current KO readers to that reader group.
- For future KO reader accounts:
- If all your readers are coming from the same domain (like knowledgeowl.com), use Auto-assign groups by email rules to assign future readers to this group.
- If your readers come from different domains, you can either:
- Manually assign current and future readers to the group. Edit readers in bulk is a good tool for this.
- Set up one Auto-assign groups by email rules for each domain your readers are coming from.
- Confirm that all current KO readers are assigned to the new reader group.
- Once all KO readers are assigned to the new group, you can start restricting categories (or articles) that should only be available to logged in readers.
- Readers won't notice anything since you're just updating permissions on the back-end and they will continue to have access to the same content.
Pro tip: Use your content organization
It's easiest if you can organize your content by categories, as then you just need to update the top-level categories that need to be behind the login.
- Readers won't notice anything since you're just updating permissions on the back-end and they will continue to have access to the same content.
- Make sure the theme has the reader login/logout button enabled. Once you make it public, your readers will need a way to log in again, since the login page won't open by default.
- In Settings > Security > Reader Options, if the box next to Require authentication to view any image or file from your file library is checked, no images or files will load for public readers. If you plan to have any files displayed in your public content, you must uncheck this box. Refer to rRequiring login to view files/images for more information.
- In Settings > Security, update the Default Access to Public.Look before you leap
Once you make this change and save, any content not restricted to your reader group will be publicly available! - In Settings > Security, update the Default Login Page to Reader Login Page.
- UNLESS you're using KO readers and SAML SSO or Remote Auth, then you may want to use one of the other login pages as the default, or update the reader login page so that it includes a link to your other login page.
- Be sure to Save your changes.
- Immediately test to make sure everything is working. You can always switch back while troubleshooting! This is a good thing to do during a slow day/time.
SAML SSO or Remote Auth
Follow these steps if your knowledge base is using SAML SSO, Remote Auth, or both:
- Create a new reader group for people who log in via SSO.
- Update SSO to automatically assign all readers to the new group.
- If you're using SAML SSO, you can do this as a custom attribute map rule. To assign all readers to the same group, use a Default rule.
- If you're using remote authentication, the remote auth login script will need to be updated to automatically assign all readers to the group.
- Confirm that all readers are now being given access to the new group.
- Once all SSO readers are being assigned to the new group, you can start restricting categories (or articles) that should only be available to logged in readers.
- Readers won't notice anything since you're just updating permissions on the back-end and they'll continue to have access to the same content.
Pro tip: Use your content organization
It's easiest if you can organize your content by categories, as then you just need to update the top-level categories that need to be behind the login.
- Readers won't notice anything since you're just updating permissions on the back-end and they'll continue to have access to the same content.
- Make sure the theme has a login/logout button or link somewhere. Once you make it public, people who use SSO will need a way to log in again (it won't go there by default).
- In Settings > Security > Reader Options, if the box next to Require authentication to view any image or file from your file library is checked, no images or files will load for public readers. If you plan to have any files displayed in your public content, you must uncheck this box. Refer to rRequiring login to view files/images for more information.
- In Settings > Security, update the Default Access to Public.
Look before you leap
Once you make this change and save, any content not restricted to your reader group will be publicly available! - In Settings > Security, update the Default Login Page:
- If you're using SAML SSO, update it to SAML Login URL.
- If you're using remote auth, update it to Remote Auth Login URL.
- If you're using both SAML SSO and remote auth, you'll need to pick one of these as the default, but you may want to update that login page to include a link to the other.
- Be sure to Save your changes.
- Immediately test to make sure everything is working. You can always switch back while troubleshooting! This is a good thing to do during a slow day/time.