- Nebius AI Cloud, where you create and configure a federation.
- Microsoft Entra ID, where you create an application, make it available to the users for whom you configure SSO, and connect the application to the federation.
Costs
This tutorial doesn’t include any chargeable resources. The infrastructure you create is free of charge.Prerequisites
- Create a Microsoft Entra account. You can create it for free.
- Make sure that this account has at least the Cloud Application Administrator and User Administrator roles. Otherwise, assign them.
- Make sure that your Nebius AI Cloud account is added to the tenant’s group of administrators. To check this, in the web console, go to
Administration → IAM → Users.
- Prepare one of Nebius AI Cloud interfaces, depending on which of them you are going to use:
Steps
Create an application in Microsoft Entra ID
- Sign in to the Microsoft Entra admin center.
-
Create an enterprise application:
- In the Browse Microsoft Entra Gallery window, click the Create your own application button.
- In the window that opens, specify the application name and select the option Integrate any other application you don’t find in the gallery (Non-gallery).
- Create and assign user accounts to the application.
-
Enable SSO for the application. On the SAML-based Sign-on page, in the Basic SAML Configuration section specify the following parameters:
- Identifier (Entity ID): .
- Reply URL (Assertion Consumer Service URL): .
The two values use different domain names:auth.eu.nebius.comandauth.nebius.com.federation-idis used temporarily until you create a federation and get its ID. After that, replacefederation-idwith the actual value.
Create a federation in Nebius AI Cloud
-
To create a federation:
- CLI
- Terraform
-
Run the following command:
The command contains the following parameters:
-
--parent-id: The ID of the tenant where you are going to create a federation. To get the tenant ID, go to the web console and expand a top-left list of projects. Next to the tenant’s name, click→ Copy tenant ID.
-
--name: The federation name. -
--user-account-auto-creation: When the user signs in to Nebius AI Cloud via SSO, their account is automatically created in the tenant with the configured federation. -
--saml-settings-sso-url: Login URL from Microsoft Entra ID. -
--saml-settings-idp-issuer: Microsoft Entra Identifier. To get values for--saml-settings-sso-urland--saml-settings-idp-issuer:- Open the application page in the Microsoft Entra admin center.
- Go to the Manage → Single sign-on section.
- Copy the values of the Login URL and Microsoft Entra Identifier fields.
-
-
Copy and save the federation ID. It is returned in the
metadata.idfield of the command output.
-
Change the SAML settings of the application in the Microsoft Entra admin center:
- Open the application page.
- Go to the Manage → Single sign-on section.
- In the fields Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL), replace the
federation-idpart of the values with the copied federation ID.
Add a certificate to the federation
- In the Microsoft Entra admin center, download an autogenerated base64 certificate. It is available on the application page, in the Manage → Single sign-on section, in the Certificate (Base64) field. For more information, see the Microsoft Entra ID documentation.
-
Add the certificate to the federation:
- CLI
- Terraform
-
Prepare the
federation-cert.jsonfile:Specify the certificate body from the downloaded file and the federation ID. In this file, the certificate body is split into several lines. Paste it as a single line tofederation-cert.json. -
Apply the certificate file:
Log in to Nebius AI Cloud
- Open the Nebius AI Cloud web console.
- Click the Get started with SSO button.
- Enter the federation ID and click the Sign in button.
-
In the Contact details window that opens:
- Specify your name and email.
- Confirm that you agree with the Nebius AI Cloud Terms of Use.
- Click the Continue button.
Assign administrator rights for the new account
After your first login to the new federation, a new user account is created in the tenant. To complete the setup and grant the new user account access to the platform, add it to a group with admin rights in Nebius AI Cloud:- Log out of your new account in the web console.
- Log in to your main Nebius AI Cloud account.
- Go to
Administration → IAM → Users and add the new user to the relevant admin group.