> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/admin-panel/account-settings/how-to-set-up-sso-provider.md).

# ​How to Set Up SSO Provider

This document describes how to create an SSO provider in the admin panel (metadata URL or XML) and link it to a verified domain for corporate user sign-in.

### Set up SSO

You can set up SSO authentication for your corporate users. To do this, you need to create a domain and verify it on the platform. Next, you need to create an SSO provider and connect it to the domain.

1. Go to the admin panel -> Account settings -> Integrations page.
2. In the top-right corner, click the <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FtycEsr8I78E7OdtXjwmm%2Fimage.png?alt=media&amp;token=25c0da82-4af5-4f53-9bb0-0643038686f9" alt="" data-size="line"> button and select **SSO providers**.
3. Fill in the main fields in the opened modal window and specify a URL or XML type of metadata.
4. Click the <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F3pYFRd0vLKnyY6GnLH8I%2Fimage.png?alt=media&amp;token=73462439-5f46-42c9-9ad5-ccea85df815e" alt="" data-size="line"> button.
5. Open **Domains** page -> select the active domain and click on the **Manage SSO settings** <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FiZ8eUBuVtkpV49RmP6nu%2Fimage.png?alt=media&amp;token=3e8815dd-f082-4fe1-80ca-77997444303c" alt="" data-size="line">icon.
6. In the opened modal window, select the available SSO.
7. After connecting SSO to the domain, your corporate users will be able to log in via SSO.
8. The corporate user logs in to your corporate domain and fills out the login page, as a result of which they will be successfully logged in or receive a message about the need to register via SSO.

### Log in with SSO only

As an administrator of a corporate account, you can to force your corporate users to log in via SSO only.

{% hint style="warning" %}
This disables standard password authentication. Password login remains activve as a fallback only if SSO is not configured.
{% endhint %}

To do so:

1. Open **Account settings**.
2. Open **Domains**
3. Click the **Manage SSO settings** ![](https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2Fwf0tytmOCmpGTREGfJFN%2Fimage.png?alt=media\&token=5156bdbe-0db4-499d-87f3-a808fff4b0f3) icon.
4. Click the <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F2kyqkae8InujpBvqYw3z%2Fimage.png?alt=media&amp;token=a40274d3-1749-478f-95f2-7d3d1d0bda7e" alt="" data-size="line"> button.

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2Fx1D19X9ZWpUWGLN53z3n%2Fimage.png?alt=media&amp;token=c4ff1399-ca54-4a00-93c6-522f891f2c91" alt=""><figcaption></figcaption></figure>


---

# 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://support.docstudio.com/admin-panel/account-settings/how-to-set-up-sso-provider.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.
