In this tutorial, you’ll learn to configure SSO in Nebius AI Cloud with Okta. To configure SSO, you need access to two systems:Documentation Index
Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
Use this file to discover all available pages before exploring further.
- Nebius AI Cloud, where you create and configure a federation.
- , where you create an application, make it available to the users for whom you configure SSO, and connect the to the federation.
Costs
This tutorial doesn’t include any chargeable resources. The infrastructure you create is free of charge.Prerequisites
- Create an Okta account.
-
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.
- If you prefer not to use the web console, prepare one of the other available Nebius AI Cloud interfaces:
Steps
Create an application in Okta
- Sign in to the Okta admin console.
-
Create and configure a new application:
- Go to Applications → Applications and click Create App Integration.
- In the window that opens, select SAML 2.0 and click Next.
- On the General settings step, enter a name in the App name field. You can optionally upload a logo for your app.
-
Click Next to proceed to the Configure SAML step and specify the following parameters:
-
Single sign-on URL:
https://auth.nebius.com/login/saml2/provider/federation-id -
Audience URI (SP Entity ID):
https://auth.eu.nebius.com/saml2/rp/federation-id -
Name ID format:
Unspecified -
Application username:
Okta usernamefederation-idis used temporarily until you create a federation and get its ID. After that, replacefederation-idwith the actual value.
-
Single sign-on URL:
- Click Next to proceed to the Feedback step and select the This is an internal app that we have created checkbox next to App type.
- Click Finish to create the application.
- Create users, assign users to a group and then assign the group to your application.
Download the IdP metadata file from Okta
- Go to your application page in the Okta admin console.
- Switch to the Sign On tab and find the SAML Signing Certificates section.
- Click Actions → View IdP metadata next to the currently active certificate. If there are no active certificates, click Generate new certificate to create one.
- In the browser tab that opens, save the XML file with metadata (for example, by using Command + S on macOS or Ctrl + S on Windows). To download the certificate without metadata, use Actions → Download certificate.
Create a federation in Nebius AI Cloud
-
To create a federation:
- Web console
- CLI
- Terraform
-
In the sidebar, go to
Administration → IAM.
- Click Create entity and select Federation.
- Enter your federation name and click Upload file.
- Select the XML file you saved in the previous step and click Continue.
- Enter a name for your certificate in the Certificates section and click Create federation. Copy the ID of the newly created federation.
-
Update the SAML settings of your application in the Okta admin console:
- Open the application page and go to the General tab.
- In the SAML Settings section, click Edit and go to the Configure SAML step.
- In the fields Single sign-on URL and Audience URI (SP Entity ID), replace the
federation-idpart of the values with the copied federation ID.
Add a certificate to the federation
If you used the web console to create a federation, you can skip this part and proceed to the next step.
- CLI
- Terraform
-
Prepare the
federation-cert.jsonfile:Specify the federation ID and the certificate body from the downloaded XML file. In this file, the certificate body is stored in theX509Certificateelement. 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 Get started with SSO.
- Enter the federation ID and click Sign in.
-
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 Continue.
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.