Documentation

Create a service account

Create a service account to call Unity Services APIs
Read time 1 minuteLast updated 3 days ago

Use service accounts to call Unity Services APIs, and to access and configure admin APIs. For more information, refer to Admin authentication. To create a service account, follow these steps:
  1. In the Unity Dashboard, open the Account menu and select Manage organization.
  2. In the Administration menu, select Service Accounts.
  3. To create a new account, select New.
  4. Enter a name and a description for the service account.
  5. Select Create.
  6. In the Keys section, select Add key.
  7. Copy and securely store the values for Key ID, Secret key, and Authorization header.
Important
These values are displayed only one time. If you lose the key values, then you need to create a new key.
  1. Select Done.
  2. To allow access to API endpoints, add a role to your service account at either the organization level or project level:
    • To grant the service account organization-wide data access for all projects in your organization, select Manage organization roles.
    • To grant the service account project-level data access for individual projects, select Manage project roles.