On a Compute virtual machine, you cannot log into the Nebius AI Cloud CLI with your user account, because it requires opening the web console in a browser. However, you can still use the Nebius AI Cloud CLI with a service account, in one of two ways: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.
Prerequisites
Create a service account and add it to a group that has the roles needed for your operations. Usually, this means adding it to at least the defaulteditors group.
You do not need to install the Nebius AI Cloud CLI. It is preinstalled on every Compute VM.
Specify the service account on VM creation
When you create a VM, specify the service account ID in the VM specifications:- CLI
- Terraform
Add the Alternatively, add the
--service-account-id parameter to the creation command:service_account_id parameter to the VM specification:/mnt/cloud-metadata/token.
Set up a profile for the service account on the VM
If you haven’t specified a service account during VM creation, you can configure a Nebius AI Cloud CLI profile for that service account:- Create an authorized key for the service account.
- Create a profile for the service account on your VM. Follow the instructions in How to set up the Nebius AI Cloud CLI.