> For the complete documentation index, see [llms.txt](https://docs.keeping.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeping.com/help/setup/connecting-a-mailbox/sign-in-with-google.md).

# Sign in with Google

When and how to use "Sign in with Google" to connect a shared mailbox to Keeping.

## When to use "Sign in with Google"

Choose "Sign in with Google" if your mailbox is a dedicated Gmail account **where the email address is the same as your support mailbox's address**.

This option is the easiest way to connect your mailbox to Keeping and it offers the fastest sync between your shared mailbox and agents.

{% hint style="success" %}
[Security and privacy](https://docs.keeping.com/help/security-and-privacy/hipaa-security-configuration-requirements.md) are a top priority for Keeping. We regularly undergo a rigorous security audit by the respected cybersecurity firm Bishop Fox. Contact us if you'd like to know more.
{% endhint %}

Keeping will ask for permission to access the email in your shared mailbox. Keeping needs this permission to sync your Gmail shared mailbox to your Keeping agents.

## Connect to Google

Click the "Sign in with Google" button. Google will ask for the email and password of your Gmail account.

{% hint style="info" %}
**Good to know**: Keeping never sees or stores the password to your Gmail account. When you sign in with Google, Google provides Keeping with a one-time token that is securely encrypted and stored. You can revoke this at any time.
{% endhint %}

![Sign in With Google](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-dba6a2e1c549cd17d3eca66b6a8a057bb8c0474f%2FAdd%20A%20Keeping%20Mailbox%20Step%204%20-%20Connect%20Mailbox.png?alt=media)

After you successfully log in with Google, your mailbox is connected. Any message in this Gmail account will be synced to Keeping immediately.

## Gmail Permissions

In order to sync your shared mailbox, Keeping needs permission to access your email. If you receive an error when trying to connect your mailbox, make sure you have checked all the boxes on this page.

<figure><img src="https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-9799ae771f5c8942f3b7a2e949164f8ec08e79aa%2FGmail%20Permissions.png?alt=media" alt=""><figcaption><p>Keeping needs permission to access your email</p></figcaption></figure>

{% hint style="success" %}
Security and safety are at the core of everything we do. We publish [our security policies and procedures](https://keeping.trustshare.com/home) so that you can see how we protect your data.
{% endhint %}

## If Keeping asks you to sign in again

If a connected mailbox was authorized before Keeping needed all of its current Gmail permissions, the mailbox's settings page shows a banner with **Sign in with Google again**. Click it and approve every permission. Your mailbox stays connected, so there's no need to disconnect it first.

## Importing recent emails

After you connect a mailbox, you can import its recent emails so your team has context from day one. See [Importing recent emails](https://docs.keeping.com/help/setup/connecting-a-mailbox/importing-recent-emails.md).

## Moving to a new Google Workspace

If your company is migrating to a new Google Workspace, contact Keeping support at <support@keeping.com> before you start. Your mailbox connections are tied to your Google accounts, so we'll work with you on the move.
