Authenticating as a user
If you don't have the Nebius AI command line interface, install it.
To authenticate using a Google account:
-
Launch the profile creation wizard:
ncp init \ --endpoint api.ai.nebius.cloud:443 \ --federation-endpoint console.nebius.ai \ --federation-id google
-
Select the profile you want to set up authentication for or create a new one.
Welcome! This command will take you through the configuration process. Pick desired action: [1] Re-initialize this profile 'default' with new settings [2] Create a new profile
-
The CLI prompts you to continue authentication in the browser. Press Enter to continue.
You are going to be authenticated via federation-id 'google'. Your federation authentication web site will be opened. After your successful authentication, you will be redirected to 'https://console.nebius.ai'. Press 'enter' to continue...
On successful authentication, the IAM token is saved in the profile. This token is used to authenticate each operation until the token expires. After that, the CLI again displays a prompt to authenticate in the browser.
-
Go back to the command-line interface to finish creating the profile.
-
At the command prompt, select one of the clouds from the list of those you have access to:
Please select cloud to use: [1] cloud1 (id = aoe2bmdcvata********) [2] cloud2 (id = dcvatao4faoe********) Please enter your numeric choice: 2
If only one cloud is available, it's selected automatically.
-
Select the default folder:
Please choose a folder to use: [1] folder1 (id = cvatao4faoe2********) [2] folder2 (id = tao4faoe2cva********) [3] Create a new folder Please enter your numeric choice: 1
-
View your CLI profile settings:
ncp config list endpoint: api.ai.nebius.cloud:443 federation-id: google ...