# Google SSO

This guide provides step-by-step instructions on setting up Bitrise as a SAML application on Google Workspace.

:::caution[SAML SSO restrictions]

SAML SSO is only available on select plans. Contact our support to find out if SAML SSO is available on your Workspace's plan.

Since the SAML SSO feature is tied to the above plans, if you decide to downgrade to a free plan, you will lose this feature. All Workspace members will receive an email about the downgrade, and you’ll have two weeks to re-upgrade if you wish to use SAML SSO in your Workspace again.

:::

Before connecting SAML SSO to your Workspace:

- Make sure you have a Google administrator account where you can add Bitrise as a SAML app. The Google Workspace administrator can help setting up SAML SSO on Google Workspace.
- - Be aware that only the Workspace owner can set up SAML SSO to a Bitrise Workspace.
- Your account on Bitrise has a Workspace with one of our [paid plans](https://bitrise.io/pricing).

You'll need to:

1. [Get configuration information from Google Workspace and Bitrise.](#getting-configuration-information-from-google-workspace-and-bitrise)
1. [Enable the Bitrise app for a group or an organizational unit.](#enabling-bitrise-app-for-a-group-or-an-organizational-unit)

## Getting configuration information from Google Workspace and Bitrise

1. Sign into your Google Admin Console.
1. Select **Apps** on the **Admin Console** page.

   ![googleadmin-apps.jpg](/img/_paligo/uuid-d00d79a9-94d7-7bf0-fa17-b6e3adab0619.jpg)
1. On the Apps page, click **SAML apps**.

   ![appsamlapp.jpg](/img/_paligo/uuid-6cf46631-6ee5-1108-8957-9da55ebd564b.jpg)
1. On the **Web and mobile apps** page, click the **Add apps** button, and select the **Add custom SAML app** option from the dropdown.

   ![addappsaml.jpg](/img/_paligo/uuid-bcfdf2cb-0157-100c-44ed-25e040d82e6b.jpg)
1. On the App details page add `Bitrise` as your app name. Please note it must be `Bitrise` as no other format is accepted. Click **Continue**.

   ![addappname.jpg](/img/_paligo/uuid-1a730b40-ecbe-d3dd-58a4-c46a0854f63a.jpg)
1. On the **Getting Identity Provider details** page:

   - Copy the **SSO URL** and paste it on the **SSO URL** field on Bitrise.
   - Copy the whole content of the **Certificate** field and paste it in the **SAML SSO provider certificate** field of Bitrise. You can upload the **Certificate** from your local computer too.

     ![identityproviderdetails.jpg](/img/_paligo/uuid-21e11866-5b32-ba61-b232-0336d27e75e9.jpg)
1. While you are in Bitrise, click the **Copy** button to copy the **Assertion Consumer Service URL (ACS URL)**. We will need it on Google Workspace in a second. Let’s NOT click the **Configure SSO** button just now!
1. Let’s head back to the **Getting Identity Provider details** page of Google Workspace. Click **Continue**.
1. On the **Service provider details** page:

   - Paste the **Assertion Consumer Service URL (ACS URL)** of Bitrise in the **ACS URL** field on Google Workspace. (Remember, we got the link at Step 7.)
   - Type `Bitrise` in the **Entity ID** field. Please note it must be `Bitrise` as no other format is accepted.
   - Tick the **Signed response** checkbox under **START URL (optional)**.
   - Click **CONTINUE**.

     ![serviceproviderdetails.jpg](/img/_paligo/uuid-dca4e3b0-8c11-d444-23c9-b5ae0f21990d.jpg)
1. Click the **Configure SSO** button on Bitrise.
1. On Google Workspace’s **Attribute mapping** page, click **Finish** - you do not have to configure anything here.

## Enabling Bitrise app for a group or an organizational unit

All there is left to do on G Suite is to enable the newly created Bitrise app for a group or organization of your choice.

1. Go to the **Web and mobile apps** page on G Suite and select **Bitrise** from the **Apps** list.
1. Click **User access** to get to the **Service status** page.
1. Select **ON for everyone** and hit **Save**.

   ![useraccess.jpg](/img/_paligo/uuid-ed1aa9a4-7926-3cfe-bf98-ac0f98a44237.jpg)
