> For the complete documentation index, see [llms.txt](https://docs.bluefletch.com/bluefletch-enterprise/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/g-suite-setup.md). Agents can also search and read this documentation through its [MCP server](https://docs.bluefletch.com/bluefletch-enterprise/~gitbook/mcp).

# Google Workspace Setup

SSO - Identity Provider Setup

## Configuring SSO in Google Workspace <a href="#configuring-sso-in-g-suite" id="configuring-sso-in-g-suite"></a>

1. Login to [admin.google.com](https://admin.google.com/).
2. Click on **Apps**.
3. Click on **SAML apps**.
4. Create new SAML app service by clicking the **+** button in the bottom right corner.
5. Click **Setup my own custom App** at the bottom of the popup.
6. Click the **Download** button next to the generated Certificate.
7. Click **Next**.
8. Name the new SAML configuration and set a *Description* if desired.
9. Enter "<https://ems.bluefletch.com/\\_\\_/auth/handler>" in the *ACS URL* field. This will also be auto-filled as the *ACS URL (Callback URL)* in your [BlueFletch Portal SSO Configuration](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/portal-setup.md).
10. Enter "saml.\[*organization's login domain for Azure*]" (e.g. *saml.bluefletch*) for the *Entity ID* field. This will also be *Provider ID* & *SP Entity ID* in your [BlueFletch Portal SSO Configuration](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/portal-setup.md).
11. Click **Next**.
12. Click **Add New Mapping** and enter "FirstName" in the attribute input. Select *Basic Information* from the first drop down and *First Name* from the last drop down.
13. Click **Add New Mapping** and enter "LastName" in the attribute input. Select *Basic Information* from the first drop down and *Last Name* from the last drop down.
14. If mapping Google [groups to Portal roles](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/portal-setup.md#idp-group-mappings), add a variable named "Groups" (Portal's code checking for this variable is case-sensitive, so be sure it is spelled with a capital "G").
15. Click **Finish**.
16. Retrieve the metadata XML from Google to use in [Portal Setup](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/portal-setup.md), or provide back to BlueFletch.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/admin/single-sign-on/g-suite-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
