Get Authenticated
Log in with Unity Hub, or with a Service Account for automated environments such as CI.
Read time 1 minuteLast updated 2 days ago
There are two ways to log in: with Unity Hub, or with a Service Account.
Logging in with Unity Hub
If Unity Hub is running and signed in, run . No Service Account is needed.
ugs login --unity-hubSee Unity Hub login for details.
Logging in with a Service Account
Use a Service Account when Unity Hub isn't available, for example in CI.
Creating a Service Account
In the tab, in the section, you can create a service account. For authenticating CLI calls, we need the following:
ProjectsService Accounts- Your Service Account key ID
- Your Service Account secret key
Additionally, you may need to add permissions to your Service Account to allow it to modify your projects. To do this, click on your Service Account and add a project role. From there, you can choose a project and permissions.
For more information on Service Accounts, refer to the Service Account Authentication documentation.
Logging in
See how to Login Using a Command or Logging in With Environment Variables.