Skip to content
This page is also available as markdown at /docs/public-docs/password-protection.md. For the complete documentation index, see llms.txt.
Get started

Password-protect the site

Put the whole site, including search and Ask the docs, behind one shared password.

Password protection is for docs that aren’t ready for the public yet, or that are written for customers and partners rather than everyone. Everyone who reads the site shares the same password.

Open Site configuration and choose Access control. You need to be an organization owner.

The Access control section with the password field and Turn on button
  1. Enter a password of 12 to 72 characters.
  2. Click Turn on.
  3. Use the copy button to copy the password and share it with your readers.

The change applies to the live site right away, without a new build. Visitors see a This site is private page and enter the password to continue. Once they’re in, they stay signed in for 7 days on that browser.

Enter a new password and click Update password. New visitors need the new password. Anyone already signed in stays signed in until their 7 days run out, or until you sign everyone out.

Click Sign out all visitors to make everyone enter the password again. The password itself doesn’t change. Use it together with a new password when access needs to be cut off immediately.

Click Turn off and confirm with Make the site public. The site, including search and Ask the docs, becomes readable by anyone with the link. The password is discarded.

  • It doesn’t create accounts or let you give different people different access. To keep some pages out of the site entirely, mark them private. See Private and hidden.
  • Search engines only ever see the password page. If you don’t want the site listed at all, also turn off Allow search engines in Search and sharing.