# Configuring SAML with Google Workspace

### Step 1: Add custom SAML app in Google Admin Console

1. Log in to [Google Admin Console](https://admin.google.com).
2. Navigate to Apps: Go to **Apps** \> **Web and mobile apps**.
3. Add Custom SAML App: Click **Add App** and select **Add custom SAML app**.
4. Enter App Details: 
     - **App Name**: Enter a name for your app.
     - **App Icon**: Optionally, upload an icon.

### Step 2: Google Identity Provider details

1. On the **Google Identity Provider details** page copy SSO URL and Entity ID and the Certificate
2. Copy **SSO URL** and paste it into the **SSO Service URL** field in the [DocuSeal SAML SSO](https://docuseal.com/settings/sso) page.
3. Copy **Certificate** and paste it into the **Certificate** field in the [DocuSeal SAML SSO](https://docuseal.com/settings/sso) page.
4. Click **Continue**.

### Step 3: Service provider details

1. Enter DocuSeal Information: 
     - **ACS URL**: Enter the **Single Sign-On URL** from DocuSeal.
     - **Entity ID**: Enter the **Metadata URL** from DocuSeal.
     - **Start URL**: Optionally, enter a URL to redirect users after authentication.
     - **Name ID Format**: Set to **Email**.
     - **Name ID**: Select the **Primary Email**.
2. Click **Continue**.

### Step 4: Attribute mapping

1. DocuSeal does not require any attribute mapping. Click **Finish** to complete the setup.
2. Done! You have successfully configured SAML SSO with Google.

Ensure that the email addresses of your users in DocuSeal match the assigned Google user email addresses.   
 This is crucial for the SAML SSO to function correctly.