**Pilot.** This setup is for workspaces opting into the Cloudflare Access pilot. Verify it in your own Cloudflare account before requiring SSO for your team.

Cloudflare Access can apply your organization's identity provider, MFA, or device policy when staff sign in to Kit. Your organization manages the application and its policies in Cloudflare Zero Trust. Kit manages workspace access, roles and sessions. [Cloudflare Access policies](https://developers.cloudflare.com/cloudflare-one/access-controls/policies/)

## Before you start

- Have an administrator who can configure an Access application in your Cloudflare Zero Trust account and a Kit administrator with **Manage authentication**.
- Set up your workforce identity provider in Cloudflare Zero Trust. Verify your staff email domains in Kit before testing. [Open Verified Domains](/integrations/verified_domains?setup=sso)
- Keep the Kit workspace owner's recovery credentials available, including a passkey or one-time code if required. Test recovery in a separate browser before you change an enforced connection.
- If you already use SAML in Kit, plan a cutover. A workspace has one SAML connection. Save the current identity provider settings and enforcement state in your approved location, and keep the previous identity provider application available until rollback is no longer needed.

## Create the application in Cloudflare

1. In Kit, open **Settings → Integrations → SSO** and choose **Cloudflare Access** in the provider picker. Copy the **ACS URL** and **SP Entity ID** shown for your Kit environment.
2. In the Cloudflare dashboard, open **Zero Trust → Access controls → Applications**, create a **SaaS application** with a custom name and select **SAML**.
3. Enter the Kit **ACS URL** in **Assertion Consumer Service URL** and the **SP Entity ID** in **Entity ID**. Choose **Email** for **Name ID Format**.
4. Select your workforce identity provider and add an **Allow** policy for a small group of test users. Include a device or MFA requirement if you plan to use it. An eligible user can gain Kit membership on first SAML sign-in, so limit the policy to people who should have workspace access. [Cloudflare Generic SAML setup](https://developers.cloudflare.com/cloudflare-one/access-controls/applications/http-apps/saas-apps/generic-saml-saas/)

## Add Cloudflare's metadata to Kit

Use the metadata URL that Cloudflare provides at the SSO endpoint with `/saml-metadata` appended. Download the XML, then choose the file or paste its contents in Kit. Kit fills the identity provider fields when you save.

You can also enter the values manually.

| Kit field | Value from Cloudflare |
| --- | --- |
| IdP Entity ID | Access Entity ID or Issuer |
| IdP SSO URL | SSO endpoint |
| IdP signing certificate | Public X.509 signing certificate |

Use the current Cloudflare-issued signing certificate. Keep the email attribute, and make sure Cloudflare sends the person's name if Kit needs to create their user account on first sign-in. Leave IdP-initiated sign-in and automatic SAML team assignment off for the pilot. Start the test from Kit. [Cloudflare SAML metadata](https://developers.cloudflare.com/cloudflare-one/access-controls/applications/http-apps/saas-apps/generic-saml-saas/#3-configure-sso-in-your-saas-application)

## Verify before requiring SSO

1. Save the connection and select **Enable SSO**. Keep a separate browser session signed in as the workspace owner. Select **Test sign-in** in the SSO settings to open the instructions.
2. In a new private window, open the Kit sign-in page. Enter the verified work email of an allowed team member other than the owner and choose **Continue with SSO**. Complete any Kit MFA prompts and open the intended workspace.
3. In a separate private session, check that Cloudflare denies an unassigned test user. If the policy uses device checks, also test a device that should be denied.
4. Confirm that Kit shows a successful sign-in for the saved configuration. Make sure the team members covered by this policy can use Cloudflare Access. Then choose **Require SSO** to require it for new sign-ins on your verified email domains. The workspace owner retains the recovery route. When the trusted configuration changes, complete a new test.

For a Cloudflare denial, review the identity provider and Access policy in Cloudflare's authentication logs. If the user returns to Kit but cannot sign in, check the verified email domain, issuer, ACS URL and signing certificate in both dashboards. If Kit prompts for MFA, finish that step before checking the verification result. [Cloudflare authentication logs](https://developers.cloudflare.com/cloudflare-one/insights/logs/dashboard-logs/access-authentication-logs/)

## Rotate the signing certificate or restore access

Schedule a change window. Keep an owner session open and retain the previous working Kit configuration in an approved location. If SSO is required, select **Make SSO optional** before changing the trusted configuration. Coordinate the certificate change with the Cloudflare administrator, update the certificate or metadata in Kit, and repeat the successful and denied tests. Verify the new certificate before requiring SSO again.

If members cannot sign in, use the workspace owner's recovery route. Restore a previously tested configuration if its identity provider is still available. If no trusted configuration can be restored, the owner can stop requiring SSO while the team resolves the issue. Stopping enforcement restores the other sign-in methods Kit allows for those members. [Kit sign-in security](/docs/sign-in-security), [Kit passkey requirements](/docs/requiring-passkeys)

## Manage existing access in Kit

Access checks the sign-in that goes through Cloudflare. Kit controls the lifetime of an existing Kit session and manages workspace membership. To offboard someone, remove their access in Kit or use your configured Kit provisioning workflow as well as updating the upstream identity provider and Cloudflare. Review existing Kit sessions, API tokens and MCP grants under your offboarding process. External collaborators on domains you have not verified in Kit use their existing sign-in methods. [Kit SSO and provisioning](/docs/single-sign-on-and-provisioning), [Cloudflare SaaS sessions](https://developers.cloudflare.com/cloudflare-one/access-controls/access-settings/session-management/#saas-applications)

If you use a custom admin domain, use the workspace’s Kit address for Cloudflare identity checks. Open it, sign in if needed, and retry the action there.

Cloudflare and Cloudflare Access™ are trademarks of Cloudflare, Inc.