# Enabling authenticated access

To protect your docs behind a sign-in screen, you’ll need to first enable authenticated access for your site.

### Enable authenticated access

Head to your [site’s settings](https://gitbook-v2-o4lv2ozqn-gitbook.vercel.app/url/gitbook.com/docs/publishing-documentation/site-settings), and choose **Authenticated access** from your site’s audience settings. Once selected, you’ll see a few options you’ll need to continue configuring your site. You’ll also see a generated "**Private key**", which you’ll need at a later point in the authenticated access setup.

### Choose an authentication method

Depending on your setup, we have integrations and guides on setting up authenticated access for different tools.

Head to the relevant guide to continue setting up authenticated access for your site.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Setting up Auth0</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FRC8ah9trT3HsKVau1mnH%2Fcard_auth0.svg?alt=media&#x26;token=66d83098-b07c-4ee1-b41d-f9766dfdf703">card_auth0.svg</a></td><td><a href="setting-up-auth0">setting-up-auth0</a></td></tr><tr><td>Setting up Azure AD</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FKrbZXlJ3dMpfRu87FMGS%2Fcard_azure_ad.svg?alt=media&#x26;token=9ab99f1f-bd44-4a01-829b-3572d4559dff">card_azure_ad.svg</a></td><td><a href="setting-up-azure-ad">setting-up-azure-ad</a></td></tr><tr><td>Setting up Okta</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fb1BCMkshEsKD26yyp0Wt%2Fcard_okta.svg?alt=media&#x26;token=81133f4d-0a34-40e3-958e-616a268a12c1">card_okta.svg</a></td><td><a href="setting-up-okta">setting-up-okta</a></td></tr><tr><td>Setting up AWS Cognito</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FiWvq26r9Mxig2qbWMJJ4%2Fcard_aws_cognito.svg?alt=media&#x26;token=f275b67c-fbcc-46e2-8eb6-b46f9629ef0e">card_aws_cognito.svg</a></td><td><a href="setting-up-aws-cognito">setting-up-aws-cognito</a></td></tr><tr><td>Setting up OIDC</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F4OZgzd8PCJQQ98Aq1aYz%2Fcard_oidc.svg?alt=media&#x26;token=17363f03-2dc6-4ea4-853b-03a636686496">card_oidc.svg</a></td><td><a href="setting-up-oidc">setting-up-oidc</a></td></tr><tr><td>Setting up a custom backend</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FkiyIjK7tW99zVp1y1ksI%2Fcard_custom_backend.svg?alt=media&#x26;token=03687058-22d1-462e-8d4a-c42f6b51a1df">card_custom_backend.svg</a></td><td><a href="setting-up-a-custom-backend">setting-up-a-custom-backend</a></td></tr></tbody></table>
