> ## Documentation Index
> Fetch the complete documentation index at: https://support.affinity.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Google SSO SAML For Affinity Access

> Help center reference: Custom Google SSO SAML For Affinity Access

<Note>**Reference** — lookup information.</Note>

While there are two options for logging in with Google workspace (**SAML** and **OAuth 2.0**), this article will cover how the Google Workspace Admin for your team can set up access to Affinity using Google's **SAML** app. This will allow users to log in and connect a different application such as Microsoft to sync data.

## How to set up Google's SAML app for Affinity

1. As the Google Workspace Admin, please sign into [admin.google.com](https://admin.google.com/). Then, click the **Menu** icon > **Apps** > **Web and mobile apps**.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/1.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=7c1e731c80d9aa9a9e89c0dc35d893f1" width="1209" height="791" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/1.jpg" />

2. Then, click on **Add app** > **Add custom SAML app**.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/2.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=5708ff512bd8eb96a7755ca829f34fb2" width="1477" height="485" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/2.jpg" />

3. Fill out the **App name** and **Description** fields, then click **Continue**.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/3.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=fda196275ca92bd35d2f3c0ce119ed86" width="1305" height="850" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/3.jpg" />

4. Click the **Download Metadata** button, then send the file to your Affinity contact.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/4.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=3151b879f4a44c8f03cbd388cac6760d" width="1298" height="437" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/4.jpg" />

5. Fill out the service provider details with the following, then click **Continue**:
   1\.

**ACS URL (also known as Reply URL)**: `https://{subdomain}.affinity.co/auth/sso/saml-callback`
2\.

**Entity ID**: affinity
3\.

**Start URL (also known as Relay State)**: IDP-INITIATED-FLOW. If you wish to enable this, please let us know if you have this enabled.
4\.

**Name ID format**: EMAIL
5\.

**Name ID**: Basic Information > Primary email
**Note**: Not sure what your Affinity subdomain is? Check out [How to find your Affinity subdomain](/s/article/How-to-find-your-Affinity-subdomain)

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/5.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=94a96556542d911e3a457cab7e0a4d75" width="1307" height="931" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/5.jpg" />

6. Now, click **Add Mapping** to map user fields to service provider attributes. Then, click **Finish**.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/6.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=48e7e3da49a0a35d42daa1873981f48a" width="1320" height="718" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/6.jpg" />

7. Then, select **Primary email** under **Basic Information**, type in **Email** under **App attributes**, and click **Save**.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/7.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=5625e552f14f7d2ce82ae18bf9ae3af8" width="1520" height="705" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/7.jpg" />

8. Last but not least, set up user access for the specific users and/or teams that should have access to Affinity.

<img src="https://mintcdn.com/support-affinity/gNHMiKP2aDiIOSeo/images/admin-account-auth/custom-google-sso-saml-for-affinity-access/8.jpg?fit=max&auto=format&n=gNHMiKP2aDiIOSeo&q=85&s=36de1b92cb083b7be6cbf4d80f5b87c1" width="1518" height="611" data-path="images/admin-account-auth/custom-google-sso-saml-for-affinity-access/8.jpg" />
