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

# Set up Google SSO

> Step-by-step guide to let your users log in to Mooncamp with their Google account.

With Google SSO, your users log in to Mooncamp with their Google account (usually Google Workspace). It is available on all plans. For a general overview of SSO in Mooncamp, see [SSO Setup](https://mooncamp.com/docs/sso.md).

The setup works like [Microsoft SSO](https://mooncamp.com/docs/sso-microsoft.md), but it is usually simpler: Mooncamp only asks Google for the user's name and email address, so most organizations don't need an admin approval.

## Before you start

* You need **write access to the workspace settings** in Mooncamp.
* Every user who should log in must exist in your Mooncamp workspace with **exactly the same email address** as their Google account.

## Setup

**1. Allow login via Google in Mooncamp**

Go to **Settings > Identity and provisioning** and switch on **Allow login via Google** under **Access**.

**2. Add your users to Mooncamp**

Add everyone who should log in under **Settings > Members**, using their Google email address (see [Managing members](https://mooncamp.com/docs/managing-employees.md)).

**3. Log in with Google**

Open the [Mooncamp login page](https://app.mooncamp.com), click **Log in via Google** and choose your Google account. You are logged in to Mooncamp.

![Mooncamp login page with the Log in via Google button highlighted](https://mintcdn.com/mooncamp/QjBPaZalk__cknxX/images/sso-login-via-google.webp?fit=max\&auto=format\&n=QjBPaZalk__cknxX\&q=85\&s=0e4f044d0ef4d85668224bb086b9bff6)

## If Google blocks the login

Some Google Workspace organizations only allow third-party apps that an admin has marked as trusted. In that case Google shows a message that the app is blocked by your admin. A Google Workspace admin can allow Mooncamp in the [Google Admin console](https://admin.google.com) under **Security > Access and data control > API controls > Manage App Access**: find Mooncamp, select **Change access** and choose **Trusted**. See Google's guide [Control which apps access Google Workspace data](https://knowledge.workspace.google.com/admin/apps/control-which-apps-access-google-workspace-data) for details.

## Good to know

* **SSO doesn't add users.** Logging in with Google doesn't create users in Mooncamp. Only people added to your Mooncamp workspace can log in.
* **Only allow Google.** If everyone logs in with Google, switch off **Allow login via password** and **Allow login via Microsoft** under **Settings > Identity and provisioning**.

## Troubleshooting

> [accordion] The user is logged in to Google but can't get into Mooncamp
>
> Check that the user exists under **Settings > Members** and that the email address there is exactly the same as their Google account address.

> [accordion] I can't switch off login via password
>
> At least one login method must stay switched on, and you can't switch off the method you used for your current session. Log in with Google first, then switch off login via password.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.