# Set up SSO

Verify your domain, connect your identity provider, test the connection and turn it on.

You need the Enterprise plan and the owner or admin role. Keep two browser tabs open: Cloudairy, and your identity provider's admin console.

Open the SSO page

Click your avatar in the top bar, then click Administration.

Under Security, click Single sign-on (SSO).

Verify your email domain

  1. Under Verified email domains, type your domain (for example yourcompany.com) and click Add domain.
  2. On the new row, click DNS record. Cloudairy shows a TXT record: a Host / name and a Value.
  3. Add that TXT record at your DNS provider. It does not affect your website or email.
  4. Back in Cloudairy, click Verify. The status changes to Verified.

DNS changes can take a few minutes. If verification fails, wait and click Re-verify. Public email domains (such as free webmail) cannot be claimed, and a domain can only be verified by one workspace.

Create a connection

  1. Under Identity provider connections, choose your Identity provider.
  2. Leave Protocol as SAML 2.0 (or choose OpenID Connect if your provider uses it).
  3. Give the connection a Name and click New connection.

Cloudairy shows Give these to your identity provider:

Cloudairy value What your identity provider may call it
SP entity ID / Audience Identifier, Entity ID, Audience URI
ACS URL / Reply URL (HTTP-POST) Reply URL, Single sign-on URL, ACS URL
SP metadata URL Service provider metadata, for providers that can import it

Set up the app in your identity provider

Click How to set this up in your provider on the connection for step by step help. The short version for each provider is in Identity provider guides.

Import the provider's metadata

  1. Under Import the identity provider's metadata, do one of these:
    • Paste the provider's Metadata URL (it must start with https://) and click Import.
    • Choose Paste XML / upload file and paste or upload the metadata file.
  2. Cloudairy fills in the provider's details and its signing certificate. You see Identity provider metadata imported.
  3. In the Verified email domains table, set your domain's Connection to this connection.

Choose how people join

Under Provisioning and enforcement:

Setting What it does
New users Create automatically (JIT) adds people the first time they sign in. Invited users only lets in only people you invited. Existing members only lets in only current members.
Default role The role given to people added through SSO: Admin, Member or Guest.
Clock skew (s) Extra seconds allowed when clocks differ. Leave the default unless sign in says the response expired.
Allow IdP-initiated sign-in Lets people start from the app tile in your identity provider.
Require SSO Blocks password, magic link and social sign in for the bound domains. The account owner is always exempt, so you cannot lock yourself out.

Click Save settings.

Test, then activate

  1. Click Test sign-in (opens a new tab). Sign in with an account your identity provider allows.
  2. You should see Test sign-in succeeded. A test does not sign you in. It only proves the setup works.
  3. Click Activate. You see Connection activated.

Turn on Require SSO only after at least one real SSO sign in has worked. You can only require SSO once the connection is active and a verified domain is bound to it.

Next steps