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

# Google SAML SSO

> In this section, we will show you how to set up your own custom SAML application for Google SAML

## Create application

1. From your Google Admin console, click **Apps** from the sidebar then click **Web and mobile apps** from the list.
2. If your application is already created, choose it from the list and move to the section [Configure Application](#configure-application)
3. If you haven't created a SAML application, click **Add custom SAML app** from the menu.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_1.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=d819353d84ac373159d4c5db7f3b4a42" alt="Sso Google 1 Pn" width="3184" height="1704" data-path="images/sso_google_1.png" />
4. Give your application an **App name** and click **Continue**.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_2.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=79ad49301bde609a6180d927251161ce" alt="Sso Google 2 Pn" width="3184" height="1708" data-path="images/sso_google_2.png" />

## Configure application

1. From the next screen, click **DOWNLOAD METADATA** to download the metadata XML file, then click **Continue**.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_3.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=6c658cd3800cc46fb2a02ec443ef6ef0" alt="Sso Google 3 Pn" width="3184" height="1708" data-path="images/sso_google_3.png" />
2. Enter the following values in the **Service provider details** section:

   * **ACS URL**
   * **Entity ID**

   Replace the values with the ones you have received from Aampe and click **Continue** to save the configuration.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_4.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=917b8a585e94128b0a3397981bd9239e" alt="Sso Google 4 Pn" width="3184" height="1707" data-path="images/sso_google_4.png" />

## Attribute mapping

1. Under the **Attributes** section, you have to configure the following attributes:

| App attributes | Google directory attributes |
| :------------- | :-------------------------- |
| Primary email  |                             |
| `firstName`    | `First name`                |
| `lastName`     | `Last name`                 |

See the screenshot below.

2. After you have configured the attributes, click **Finish** to save the configuration.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_5.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=6d8e3ba5bf5a53b6683132e4bcf4e048" alt="Sso Google 5 Pn" width="3184" height="1708" data-path="images/sso_google_5.png" />
3. From the next screen, click **User access** to configure the application to allow users to log in.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_6.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=91b1260cb7d01a6f48e89a8a0bda340e" alt="Sso Google 6 Pn" width="3184" height="1706" data-path="images/sso_google_6.png" />
4. Check the **ON for everyone** checkbox and click **Save**.

   <img src="https://mintcdn.com/aameo/nTJJr7c-2zWPTL1i/images/sso_google_7.png?fit=max&auto=format&n=nTJJr7c-2zWPTL1i&q=85&s=92842c8ecad2a6f1ac92d8ffb186db27" alt="Sso Google 7 Pn" width="3184" height="1700" data-path="images/sso_google_7.png" />

## Next steps

You've successfully configured your custom SAML application for Google SAML. At this stage, you can assign users to your application and start using it.
