> ## Documentation Index
> Fetch the complete documentation index at: https://risingwavelabs-wyx-add-timestamp-dedicated-page.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up Single Sign-On (SSO) for your organization

> Single Sign-On (SSO) is an authentication method that allows a user to access multiple applications with one set of login credentials.

RisingWave Cloud supports SAML-based identity provider (IdP) platforms for SSO.

This article will guide you through the process of setting up SSO for your organization on RisingWave Cloud and logging in with SSO.

## Setting up SSO configuration

### Step 1: Create a SAML application on your IdP platform

Begin this process by setting up a SAML application on your IdP platform, such as Okta.

During the setup, provide placeholder values for the following fields:

* **SP Entity ID or Issuer or Audience URI**
* **Assertion Consumer Service (ACS) URL**

Configure the properties below on the IdP platform:

| Property                         | Description                                                                                                                                                                              |
| :------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **IdP Single Sign-On URL**       | URL of the receiver of the SAML AuthNRequest.  Use a placeholder value initially. You'll get the actual value from your IdP after providing it with the Atlas metadata.                  |
| **IdP Signature Certificate**    | PEM-encoded public key certificate of the IdP.  You can obtain this value from your IdP. You can either upload the certificate from your computer or paste the contents into a text box. |
| **Request Binding**              | SAML Authentication Request Protocol binding used to send the AuthNRequest. It can be either **HTTP POST** or **HTTP REDIRECT**.                                                         |
| **Response Signature Algorithm** | Response algorithm used to sign the SAML AuthNRequest. It can be either **SHA-256** or **SHA-1**.                                                                                        |

***

### Step 2: Configure SSO on RisingWave Cloud

1. Go to the [**Org.**](https://cloud.risingwave.com/organization/) tab and select **SSO configuration**.
2. Click **Create SSO configuration**.
3. Create a descriptive name for your SSO configuration. Enter the SSO URL, select the protocol and signature algorithm you used on your IdP platform, and upload the IdP certificate.

<Frame>
  <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-create.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=3de007416eee33f87c5e9a83db57f237" width="2000" height="2134" data-path="images/cloud/sso/org-sso-create.png" />
</Frame>

<br />

<Accordion title="If you're using Okta, you can find the values here">
  1. Log in to your Okta account and navigate to the **Applications** section.
  2. Select the SAML application you created for RisingWave Cloud.

  <Frame>
    <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-okta-0.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=ecf5f3965b015ef758185d49eecf21f3" width="5866" height="2700" data-path="images/cloud/sso/org-sso-okta-0.png" />
  </Frame>

  1. Click **View SAML setup instructions**.

  <Frame>
    <img src="https://mintlify.s3.us-west-1.amazonaws.com/risingwavelabs-wyx-add-timestamp-dedicated-page/images/cloud/sso/org-sso-okta-1.pngs" />
  </Frame>

  You can find the SSO URL and download the certificate file here.

  <Frame>
    <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-okta-2.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=b50876722b737184a332f69425871607" width="1896" height="986" data-path="images/cloud/sso/org-sso-okta-2.png" />
  </Frame>
</Accordion>

1. Click **Confirm** to save the configuration.
2. After creation, a card with the SSO details will be added to the **SSO configuration** page. Use the `AscUrl` and `Entity ID` values from this card to fill the `IdP Single Sign-On URL` and `SP Entity ID / Issuer / Audience URI` fields on your IdP platform.

<Frame>
  <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-card.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=0b89eb784c476c23bf6a6af0f140a797" width="1410" height="1170" data-path="images/cloud/sso/org-sso-card.png" />
</Frame>

<Accordion title="If you're using Okta, you can find the settings here">
  1. In the SAML application for RisingWave Cloud, select the **General** tab.

  <Frame>
    <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-okta-3.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=beb99f43ad898866f4c3684dd4b97503" width="7854" height="3450" data-path="images/cloud/sso/org-sso-okta-3.png" />
  </Frame>

  1. Scroll down to the **SAML Settings** section and click **Edit**.

  <Frame>
    <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-okta-4.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=8e1b5bbb3fb05dff5a7f279a4403004d" width="3276" height="1766" data-path="images/cloud/sso/org-sso-okta-4.png" />
  </Frame>

  1. Select the **Configure SAML** tab. Enter the `Single sign-on URL` and `Audience URI (SP Entity ID)` values with `AscUrl` and `Entity ID` on the SSO configuration card on RisingWave Cloud.

  <Frame>
    <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-okta-5.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=dab24cbd752c84b7602b412d08cbe1ec" width="8661" height="4863" data-path="images/cloud/sso/org-sso-okta-5.png" />
  </Frame>

  1. Scroll down and click **Next**. Then, **Finish**.
</Accordion>

1. Switch the toggle on the card to enable the SSO configuration for your organization.

## Logging in with SSO

Once SSO is configured for your organization, all users can log in to RisingWave Cloud using their work email addresses and SSO credentials.

**Steps:**

1. On the [login](https://cloud.risingwave.com/auth/signin/) page, click **Enterprise single sign-on**.

<Frame>
  <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-login-1.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=7219c3294c56931ca630996c8a9d0920" width="2420" height="2774" data-path="images/cloud/sso/org-sso-login-1.png" />
</Frame>

2. Enter your work email and click **Log in**.

<Frame>
  <img src="https://mintcdn.com/risingwavelabs-wyx-add-timestamp-dedicated-page/qTWoSW8PfgF4lEVu/images/cloud/sso/org-sso-login-2.png?fit=max&auto=format&n=qTWoSW8PfgF4lEVu&q=85&s=2de1fc60598e1f4730764a8e9da9442a" width="2000" height="1737" data-path="images/cloud/sso/org-sso-login-2.png" />
</Frame>

3. You'll be redirected to your IdP platform to complete the authentication process.
